Moderator: igrr
RogerGuess wrote:Where does PubSubClient.h come from?
Thanks
https://github.com/knolleary/pubsubclient
torntrousers wrote:I mean, why the triple bang? Wouldn't one be enough?Code: Select allwhile (!!!client.connect(clientid))
MeNoGeek wrote:Since I'm not an expert in C, nor in any other programming language, I'm kind of puzzled by this statement:torntrousers wrote:I mean, why the triple bang? Wouldn't one be enough?Code: Select allwhile (!!!client.connect(clientid))
One would be enough. Having three is supposed to make the code more readible as one is easy to miss when skim reading, and optimizing compilers should optimize it down to a single not operation. Just did it by habit, I've no idea if the compiler used here does actually optimize them away though.