| ??? 04/11/02 01:31 Read: times |
#21658 - serial interrupt of DAllAS 89c420 |
hi all, got a question abt serial interrupt.
if i want to detect "J0" or a string of chars? eg hello. is that how i do it?? see below.. thanks.. if(RI1) { if(SBUF=='J') { if(SBUF=='1') { joybutton=1; RI1=0; } else if(SBUF=='0') { if(joybutton) { _nop_(); RI=0; } } |
| Topic | Author | Date |
| serial interrupt of DAllAS 89c420 | 01/01/70 00:00 | |
| RE: serial interrupt of DAllAS 89c420 | 01/01/70 00:00 | |
RE: serial interrupt of DAllAS 89c420 | 01/01/70 00:00 |



