Code:WHILE (PORTC = %11111011) OR (PORTC = %11110011) SEROUT ToTx, N2400, [66] WEND
Code:WHILE (PORTC = %11111011) OR (PORTC = %11110011) SEROUT ToTx, N2400, [66] WEND
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
or
probably what you wanted to do at firstCode:WHILE (PORTC = %11110011 | %00001000) SEROUT ToTx, N2400, [66] WEND![]()
Last edited by mister_e; - 26th June 2011 at 14:33.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
"| %0000100"What does this does mister_e? I read the manual it says there that this "|" is used to set the bit. Please explain how it fits with my requirement. Thanks a lot
it's all about Bitwise operations.
| is bitwise OR.
You said you don't need to monitor bit.3?
So it could be 0 or 1?
How about making sure this specific is always 1 then?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks