#19800 - slboytoy - Sun Apr 25, 2004 8:51 pm
i just wanted to make sure that my if statement is properly set up. here's the code:
pretty much i'm wanting to cycle through the variable "channels.hi" one bit at a time to see if it is a high or a low and react accordingly.
does this statement look like it would check the bits in channels.hi???
Code: |
if(channels.hi & (1 << count - 31)) |
pretty much i'm wanting to cycle through the variable "channels.hi" one bit at a time to see if it is a high or a low and react accordingly.
does this statement look like it would check the bits in channels.hi???