Actually i want to know the reading of resistance of the LDR...
I came across an experimental board with an LCD onboard.
so here it stated with the programm..
pot portb.1,255,v1 'read resistance of cds photocell.
"along the programm it writen display information to the lcd."
so the lcd will give a value example 37 under certain light condition from the LDR.
Hence it can be compared by a value..
example:
the ldr is set to variable V1.
If v1 <= 100 then skp 'compared the value from the LDR with 100.
My question here..if i do not have this experimental board, is there a way to know the actuall reading of the LDR?
pot portb.1,255,v1 -------- does the value 255 will be the maximum. and comparison will be from 0 - 255.?
thanks alot..
Bookmarks