donrecardo
Senior Member
Hi
Has anyone used the Serial LCD and keypad driver from Web4Robots ?
I have a couple and was hoping to learn how to use them
I have connected an LCD to the driver with a pot for contrast control
and on applying power I get the splash screen ok. I wish to drive it
from an 18X picaxe chip .
The driver by default starts up in 9600 baud .
Could someone give me a hint as to a line of code to display something
like " Hello 123" on the LCD
The driver can work in serial or i2C mode , and I would like to learn how to
talk to it both ways , Serial/I2c
The manual is here but to be honest I dont really understand it
http://www.web4robot.com/files/SerialLCDCtrl.pdf
normally for serial I use things like serout 7, n2400, ("Hello")
but I tried changing N2400 to N9600 to match the controllers baud rate but it didnt like that , and with i2c its normally writei2c 0, ("Hello") but looking in the manual I cant see what I should use for the address to write to. To make it worse where I am used to seeing things like (254,1) to clear the display , this chip uses hex with numbers like 0xFE
Can anyone point me in the right direction, if I could just get it to change baud rate to 2400 I feel I could then get it to talk to me via serout
Regards
Don
Has anyone used the Serial LCD and keypad driver from Web4Robots ?
I have a couple and was hoping to learn how to use them
I have connected an LCD to the driver with a pot for contrast control
and on applying power I get the splash screen ok. I wish to drive it
from an 18X picaxe chip .
The driver by default starts up in 9600 baud .
Could someone give me a hint as to a line of code to display something
like " Hello 123" on the LCD
The driver can work in serial or i2C mode , and I would like to learn how to
talk to it both ways , Serial/I2c
The manual is here but to be honest I dont really understand it
http://www.web4robot.com/files/SerialLCDCtrl.pdf
normally for serial I use things like serout 7, n2400, ("Hello")
but I tried changing N2400 to N9600 to match the controllers baud rate but it didnt like that , and with i2c its normally writei2c 0, ("Hello") but looking in the manual I cant see what I should use for the address to write to. To make it worse where I am used to seeing things like (254,1) to clear the display , this chip uses hex with numbers like 0xFE
Can anyone point me in the right direction, if I could just get it to change baud rate to 2400 I feel I could then get it to talk to me via serout
Regards
Don