okay so the solution was to compare the mask with the result like>> if ((this_led_color & mask) == mask) and its done!
Nishant
Member Since 26 Apr 2012Offline Last Active Feb 25 2014 06:29 AM
  | ||||||||||||||
NishantMember Since 26 Apr 2012Offline Last Active Feb 25 2014 06:29 AM Posts I've Made | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||