Bpi-216 lcd
Cant find any working code for the BPI-216 serial LCD, all code in help files wont even load, error! bad comands ect. Does anyone know of any Good code for this LCD for sx28b or bs2p I cant get it to work with any! tried diferant baud rates. reset power on lcd after change nothing seems to work. Have got it to self test once. all other times run programs displays a saw tooth pattern all the way across the screen. Thanks David
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
Sawtooth??
Post Edited (PJ Allen) : 11/25/2006 2:07:19 AM GMT
From a BPI-216 data sheet I found on the web, the interface and control commands used for my 20 character Seetron LCD look identical to the 16 character unit.
There are a number of things that will mess up this display. Its' data line has to be held low for about a second when it powers up or else it will enter debug mode. Its data bit polarity may need reversing from a "normal" serial output. And of course, you've got to get the baud rate pretty close to perfect.
A sawtooth sounds like a typical symptom of an incorrect bitrate. You are using a crystal, right? For RS232, you need good frequency control.
But once all those set properly, it's a great little display.
This code is set for 9600 baud - check that the switch on the rear is set for the baud rate that you want. The code used to be set up for a 20 mHz crystal, but I recently converted it for 8 mHz. There are some notes on how to calculate the various ISR settings for the right 9600 baud RS232 for different crystal rates. They're not real detailed but maybe they'll help.
David