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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/15/03 15:16
Read: times


 
#39129 - RE: Debug problem
Responding to: ???'s previous message
Kobi,

I don't use µVison, so I can't comment on the reason why c does not get the value of SBUF.
However, you should change the comparison in the if-statement:
if (SBUF == '0x46'

will compare SBUF with 0x30; the ASCII value of '0'.
Get rid of the '' and it will be fine.

Rob.


List of 15 messages in thread
TopicAuthorDate
Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem Jon            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
         RE: Debug problem            01/01/70 00:00      
   RE: Debug problem            01/01/70 00:00      
      RE: Debug problem            01/01/70 00:00      

Back to Subject List