The way you do it right now write 20 time on the same EEPROM adress... well your eeprom wil wear out pretty fast huh?
Anyways, several way, the first that spring to mind is..
HTHCode:For EEPAddr=0 to 255 for d = 0 to 20 ADCIN 0, Value y = ( Value *100 ) / 51 'divided down from * 255 / 130 LCDOUT 254,Row1,"LOG SENSOR ",DEC1 (y / 100 ),".",DEC2 ( y // 100 )," VDC" lcdout 254,Row3+2, "0......|......5" ; syntax- BARgraph Value, Row, Col, Width, Range, Style @ BARgraph _Value, 2, 2, 15, 255, lines pause 100 next wriTE EEPAddr, Value next LCDOUT $FE, 1, "Thanks for shopping here",_ $FE,$C0, "Come again :o)"




Bookmarks