In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote: Here's a little demo program that writes a few lines to my Seetron 2-line 20 character LCD on an sx28. 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 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=156961#m156975 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)