alexan_e
Administrator
You said in a previous post that you want to check which bits become 0, you can go to the basic form of doing that
But what do you want to do with the result of each bit?
Alex
Code C - [expand] 1 2 3 4 5 6 7 8 if !CHECKBIT(PORTX,0) ...; // true if bit0 is 0 if !CHECKBIT(PORTX,1) ...; if !CHECKBIT(PORTX,2) ...; if !CHECKBIT(PORTX,3) ...; if !CHECKBIT(PORTX,4) ...; if !CHECKBIT(PORTX,5) ...; if !CHECKBIT(PORTX,6) ...; if !CHECKBIT(PORTX,7) ...;
But what do you want to do with the result of each bit?
Alex