not there are other solutions?Originally Posted by DynamoBen
Do this....it works great.
For idx = 0 to 7
LCDOUT $FE, 1, #var[idx]
next idx
lcdtest var byte[3]
lcdtest(0)="1" 'ASCII value for 1
lcdtest(1)=$32 'HEX value for 2
lcdtest(2)=51 'DEC value for 3
'Cear Display and Output to line 1
LCDOUT $FE,1,str lcdtest\3
Will display 123 on LCD.
Regards
Sean.
hello!Originally Posted by sean-h
which it is the difference between:
I2CREAD SDA,SCL,pag1,0,[str password\4]
LCDOUT $FE,1,str password\4
it is
for ind_ep = 0 to 3
I2CREAD SDA,SCL,pag1,ind_ep,[password[ind_ep]]
pause 20
next ind_ep
LCDOUT $FE,1,str password\4
You don't need to pause when reading an I2C buss. You only really need a pause when writing to it.
Both examples are functionally the same. The first one is much easier to ready.
Bookmarks