- Thu Aug 27, 2015 1:43 am
#184338
Hi
Please can someone help with this. I have a PICAXE 14m2, I was using this chip with an LCD screen called texstar. I have been using this combination for a couple of years without problems, However the texstar LCD from coolcomponents is no longer available. I need a similar low porfile LCD for our product. I have sourced a screen from Sparkfun sold by proto-pic that has a low profile (SERIAL ENABLED 16X2 LCD - WHITE ON BLACK 5V) http://proto-pic.co.uk/serial-enabled-1 ... -black-5v/
Unfortunaly I am uable to change the baud rate of this lcd. I can send and display data at 9600baud which is the default but I need to display info at 2400baud to suit my application. Can someone please explain how I change the baud rate using my PICAXE serial port as the helpfiles associated with this product talk in "Arduino" and talk about things like "send a special character" followed by control K..??? (I am not familar with arduino!!)
please see paragraph 3.4 on this PDF https://www.sparkfun.com/datasheets/LCD ... _V2_5.PDF
Any help appreciated.
JPU
Please can someone help with this. I have a PICAXE 14m2, I was using this chip with an LCD screen called texstar. I have been using this combination for a couple of years without problems, However the texstar LCD from coolcomponents is no longer available. I need a similar low porfile LCD for our product. I have sourced a screen from Sparkfun sold by proto-pic that has a low profile (SERIAL ENABLED 16X2 LCD - WHITE ON BLACK 5V) http://proto-pic.co.uk/serial-enabled-1 ... -black-5v/
Unfortunaly I am uable to change the baud rate of this lcd. I can send and display data at 9600baud which is the default but I need to display info at 2400baud to suit my application. Can someone please explain how I change the baud rate using my PICAXE serial port as the helpfiles associated with this product talk in "Arduino" and talk about things like "send a special character" followed by control K..??? (I am not familar with arduino!!)
please see paragraph 3.4 on this PDF https://www.sparkfun.com/datasheets/LCD ... _V2_5.PDF
Any help appreciated.
Code: Select all
ThanksSETFREQ M8 'set speed to 8mhz as PICAXE onlys comms at 9600 whilst running at 8Mhz
serout b.1,T9600_8,(124,11) 'send special character and askii code for ctrl-k
setfreq m4 'set picaxe speed back to 4mhz
do
serout b.1,T2400_8,(254,128) ' set cursor position to column 1 line 1
serout b.1,T2400_8,("TEST")
pause 1000
serout b.1,T2400_8,(254,128)
serout b.1,T2400_8,("----")
pause 1000
loop
JPU