??? 11/25/09 18:51 Read: times |
#171168 - Sorry! Responding to: ???'s previous message |
I'm sorry I'd made that mistake while typing the program on the forum post. The original code is just like the as follows
cs=0; wr=0; adc=0x08; wr=1; cs=1; adc=0xFF; and.. while(intr==1); cs=0; rd=0; value=adc; cnd(value); rd=1; cs=1; I'm sorry for the error. In spite of this code, I get an all pins high output. What could be the reason? Yash Chitalia |
Topic | Author | Date |
Receiving output from ADC0848. | 01/01/70 00:00 | |
Don't feed other pins without VCC | 01/01/70 00:00 | |
CS and RD working. | 01/01/70 00:00 | |
Wrong understanding of ADC! | 01/01/70 00:00 | |
But according to Mazidi... | 01/01/70 00:00 | |
No, you don't! | 01/01/70 00:00 | |
Sorry! | 01/01/70 00:00 | |
How do you see that? | 01/01/70 00:00 | |
The LCD shows a 255. | 01/01/70 00:00 | |
But this can have zillions of reasons... | 01/01/70 00:00 | |
Never retype source code when posting | 01/01/70 00:00 | |
Working! But with errors... | 01/01/70 00:00 | |
You must convert raw ADC reading into temperature | 01/01/70 00:00 | |
Self-heating?![]() | 01/01/70 00:00 | |
Configured as push-pull? | 01/01/70 00:00 | |
It's a P89v51RD2 | 01/01/70 00:00 | |
Difference only noticeable if contention | 01/01/70 00:00 | |
then STOP what you are doing | 01/01/70 00:00 |