unsigned long bits;unsigned long mask; ... bits = ...something...; ... mask = ...something...; ... bool action = bits & mask; if(action) ...
bool action = (bits & mask) != 0;
bool action = ((bits & mask) & 0xFF) != 0;
it only happened when compiling for the Tiny85
When I compiled it for an Arduino board, it compiled the correct code
Hardware package? I selected the Board Type "AtTiny85".
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16