I'm using this for such cases:
This is for top row and have similar for botton row.Code:topline: 'top line updater sub ofs=pos*16 'modify position offset for x=0 to 15 i2cread sda, scl, adr, x+ofs, [y] 'write from eeprom tline[x]=y 'write into array next lcdout $FE, $02 ' top row for y=0 to 15 lcdout tline[y] next return


Reply With Quote

Bookmarks