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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/19/02 14:49
Read: times


 
#24621 - RE: 89c2051 comparator
Hi Ravindra,

I've used the 2051 a lot, but not that particular feature (my experience with the analog comparator was to forget to put the pullups on its input pins P1.0 and P1.1 when I didn't use it). According to the Atmel data sheet P3.6 is hardwired as an input, connected to the output of the comparator. So, yes, poll P3.6.

How? Are you using C or assembler or? In C you can do test "if (P3.6) ..." and in assembler you can do test "JB P3.6, xxx".

Dennis




List of 3 messages in thread
TopicAuthorDate
89c2051 comparator            01/01/70 00:00      
RE: 89c2051 comparator            01/01/70 00:00      
RE: 89c2051 comparator            01/01/70 00:00      

Back to Subject List