4x20 Character LCD with BS2px only displays "////////..."
I purchased a 4x20 character Parallax LCD and want to use it for a weather station later on. In trying to learn commands though, I have copied and pasted the couple of LCD sample programs that I have found online and can only get the display to show forward slashes. Depending on the program loaded it will write one to six at a time with pauses, but continues across the top line until it spills over to line two, then three and four, until the cursor loops around to the top and starts all over.
When I put the LCD in test mode it seems to work just fine. In any other mode it only displays the slashes, so other than changing the Stamp directive on the sample programs (I have a BS2px, and most samples are written with BS2), what do I need to check? I'm not going to try displaying the temperature until I can get the most simple "Hello World!" to display correctly.
Thanks.
When I put the LCD in test mode it seems to work just fine. In any other mode it only displays the slashes, so other than changing the Stamp directive on the sample programs (I have a BS2px, and most samples are written with BS2), what do I need to check? I'm not going to try displaying the temperature until I can get the most simple "Hello World!" to display correctly.
Thanks.
Comments
In the Editor Help files, if you go to the "PBasic Language Reference" section, you will find a list of PBasic commands, click on SEROUT and it will take you to lots of info about that command.
There is a section where it explains how to calculate that number (i.e 188) for any Baud mode and any type of Stamp. This is good to know because none of the tables that are shown go higher than 9600 Baud.
You can also use "conditional compilation" by including this at the beginning of your program (requires PBasic 2.5)