??? 07/21/06 09:02 Read: times |
#120741 - 89c2051 comparator... Responding to: ???'s previous message |
I think the information provided in the datasheet is quite sufficient. With P1.0 being the non-inverting input and P1.1 bieing the inverting input. The output of the comparator is linked directly to P3.6 and hence P3.6 is not available as general purpose DIO. You can read P3.6 (just like any other port pin)to get the output of the comparator. A high on P3.6 indactes that P1.0 is at a higher potential than P1.1 and low indicates the otherwise. |
Topic | Author | Date |
analog comparator of at89c2051 | 01/01/70 00:00 | |
What do you need it for? | 01/01/70 00:00 | |
lm35 interface | 01/01/70 00:00 | |
Search and Ye shall find | 01/01/70 00:00 | |
p3.6????? | 01/01/70 00:00 | |
http://www.keil.com/dd/vtr/2984/2738.htm | 01/01/70 00:00 | |
Atmel Application Notes | 01/01/70 00:00 | |
Hhm... | 01/01/70 00:00 | |
P3.6 listed in datasheet | 01/01/70 00:00 | |
89c2051 comparator... | 01/01/70 00:00 | |
but remember..... | 01/01/70 00:00 | |
It's P1.0 and P1.1 ! | 01/01/70 00:00 | |
oh...sorry for the mistake...![]() | 01/01/70 00:00 | |
Atmel Application Notes | 01/01/70 00:00 |