hi everyone
Thanks for your help all is fine.My mistake.
Thanks for your help all is fine.My mistake.
Attachments
-
67.4 KB Views: 31
-
481.6 KB Views: 34
Last edited:
#picaxe 20m
high 7 ' prepare output pin
pause 100
serout 7, T2400,(254,1,254,1) 'clear screen
pause 100
main:
serout 7,T2400,(254,128,"Wotcha Mate") 'write to first line of screen
pause 2000
scroll:
serout 7,T2400,(254,24) ' control sequence to scroll left
pause 300
goto scroll ' do it again
Ah, so it is a function of the FMR010 chip not the LCD display.I am using the same display, interfaced with the FRM serial chip. Works without any problems.
Yes of course Westy.Didn't notice that, but still works with the double entry.Ah, so it is a function of the FMR010 chip not the LCD display.
Would I be correct in suggesting the line:
serout 7, T2400,(254,1,254,1)
should/could read
serout 7, T2400,(254,1)
Yes of course Westy. Didn't notice that, but still works with the double entry.
Not quite sure what you mean. What is the funcion of the FRM and not the LCD. I could well be 2 points abaft the beam,but my understanding is that the FRM deals with all the serial interfacing, and the 254 code sequences are LCD relevant.
Thanks Technical.All 254 does is to tell the FRM010 that the very next single byte is to be output as a 'command byte' rather than a 'character byte' ie with RS pin at logic level 0 rather than the default 1.
So if you look at a command table, e.g. page 5 of
http://www.rev-ed.co.uk/docs/led008.pdf
you can output any command you choose e.g.
254, %00000001 is 'clear display'
254, %00001111 is 'display on, cursor on, blink on'
etc.