Typo in accelerometer code?
I'm new to Arduino programming and didn't find this syntax on the Arduino page: http://arduino.cc/en/Reference/Boolean
Is the double !! a typo here or is there some value to using the bitwise 'not' twice or is this unique to Arduino?
tapped = !!(tilt & 0x20);
shaked = !!(tilt & 0x80);
Is this a good question?