Well, this is just an idea. Take 10 readings, then obtain the average, and display it in the LCD. Something like this,
RobertCode:MAIN: FOR I = 0 TO 9 ....Take ADC reading READING[I] NEXT I 'Next obtain the average AVERAGE = (READING[0] + READING[1] + ......) / 10 LCDOUT $FE, 1, DEC AVERAGE GOTO MAIN
Bookmarks