Well, I've been having problems with my SparkFun SerLCD V2.5. I'm using a Picaxe 20x2 with firmware version C.1 (stuck on a 08 Proto Board Kit. Hey it works! I may have some pins leftover that I can't use but it works!) and Programming Editor 5.2.7 (I know, I should update. Will do that right away). I am using the SparkFun Picaxe programmer and it has worked great so far. My LCD is soldered onto the 08 Proto Board with some unshielded 22 AWG stranded wire and as far as I can see, the solder joints look pretty good.
I can display letters/words at T9600 baud no problem and I can clear the screen as well (254,0x01) but when I try to change the baud rate to T2400 (0x7C,"k") I end up with a whole ton of garbage on the screen and it stays at 9600 baud. I found a post on letsmakerobots.com that explained my problem to a T (http://letsmakerobots.com/node/4114) but ends up that that was a 28X firmware problem (http://letsmakerobots.com/node/4239) that I'm sure most of you are aware of. I'm afraid that I've done what I can and am sort of stuck. Has anyone else run into this problem before? I'm assuming (using the information rik gathered) that the Picaxe isn't catching the first bit and is messing up the message that way. However I'm slightly confused as I can still use it normally to just display ACII characters.
The first piece of code is what I used to check that the screen was working. The first few letters are garbled but I imagine thats just because the line has to initialize (or whatever else could happen).
The second piece of code is supposed to flash some text quickly just to get everything warmed up and to prove that it's working. Then, it's supposed to clear the screen, change the baud rate to 2400 and display some text. However, after the first piece of text flashes by the rest is all garbled. Is it my code, my Picaxe, my SerLCD or should I blame it on solar flares and flying pigs? Thanks.
(Yes, I know it's vain to stick your name in a piece of code more than twice )
I can display letters/words at T9600 baud no problem and I can clear the screen as well (254,0x01) but when I try to change the baud rate to T2400 (0x7C,"k") I end up with a whole ton of garbage on the screen and it stays at 9600 baud. I found a post on letsmakerobots.com that explained my problem to a T (http://letsmakerobots.com/node/4114) but ends up that that was a 28X firmware problem (http://letsmakerobots.com/node/4239) that I'm sure most of you are aware of. I'm afraid that I've done what I can and am sort of stuck. Has anyone else run into this problem before? I'm assuming (using the information rik gathered) that the Picaxe isn't catching the first bit and is messing up the message that way. However I'm slightly confused as I can still use it normally to just display ACII characters.
The first piece of code is what I used to check that the screen was working. The first few letters are garbled but I imagine thats just because the line has to initialize (or whatever else could happen).
Code:
main: pause 1000
serout A.0,T9600_8,("Hello World")
pause 1000
serout A.0,T9600_8,(254,0x01)
goto main
The second piece of code is supposed to flash some text quickly just to get everything warmed up and to prove that it's working. Then, it's supposed to clear the screen, change the baud rate to 2400 and display some text. However, after the first piece of text flashes by the rest is all garbled. Is it my code, my Picaxe, my SerLCD or should I blame it on solar flares and flying pigs? Thanks.
Code:
main: pause 5000
serout A.0,T9600_8,("NXTreme, NXTreme")
pause 300
serout A.0,T9600_8,(0xFE,0x01)
pause 100
serout A.0,T9600_8,(0x7C,"k")
pause 100
serout A.0,T2400_8,("NXTreme, NXTreme")