Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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;
}
}

List of 3 messages in thread
TopicAuthorDate
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      

Back to Subject List