display on the LCD-HELP PLEZ-

Status
Not open for further replies.

zeeba

New Member
Hi everybody =]

I'm using assembly and PIC16F876A
I want to Read two analogue inputs from two LDRs and display them on the LCD.

I wrote a code but the problem is :

the readings on the LCD are almost the same even if there is a difference between the lighting on the LDRs.
I used the volt meter to measure, there is a difference in volts that's mean there is a difference between the lighting on the LDRs but the readings on the LCD almost the same.

It suppose to be two lines: line1 to read from LDR1 and line2 to read from LDR2 but as I said the two readings are the same
 
Last edited:
should I put more delay between reading the channels? or it has nothing to do with that?
 
Last edited:
Is this for real come on how could you write code and not no what bill was saying
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…