tabsoft,
Using your code and the lineThe LCD is displaying 6473, 6730, 6729, 6473, 6729 so I would assume that there is the odd misread now and again.Code:LCDOut $FE,$80+9,"RH ",dec hum
What divider should I use of the variable hum to get a realistic figure, and is there any tweaks to the values in the for/next loop to clearly define the 1's and 0's to make the reading of the sensor more stable. I'm using an 18F4580 running at 40 Mhz (10mhz crystal with the HS_ppl option enabled)
EDIT:
For info usingthe values jump around 18714, 18970,18970,18714,Code:LCDOut $FE,$80+9,"RH ",#hum




Bookmarks