Spark Fun Serial Enabled LCD trouble

So, I just got my Arduino and one of these:

However, I seem to have messed something up.

Using this code as a basis, changing the baud to 9600:

http://www.arduino.cc/playground/Learning/SerialLCD

and commenting out:

Serial.print(254, BYTE);
Serial.print(84, BYTE);

I got it working, after modifying the clearLCD and newLine commands. However, I went to make a "124" change, and put the wrong number in - specifically, 14. Now, I get funky characters on 9600 baud, and it only works OK on 14400 baud.

Any ideas? I cannot send the control command.

Thanks!

hi

serial hardware can't be connected to the rx/tx pins uring upload of the arudino program. Also, what's up with 14,400 baud? I've never heard of that rate.

D

hi

serial hardware can't be connected to the rx/tx pins uring upload of the arudino program. Also, what's up with 14,400 baud? I've never heard of that rate.

D

Digital Pin 1 for tx to the LCD

Serial communications can take place at several baud rates (9600, 14400, etc...). I shouldn't have put a comma in my posting :smiley:

19,200 is the closest standard baud rate...

check to see that program uploading is not screwing up the LCD.. just leave it unconnected until the Arduino has finished the boot process. Sharing the port often presents lots of problems.

PS I wrote that tutorial for a different serial LCD... you have to go through the manual for the Sparkfun LCd and verify that each command is equivalent to what's in the tutorial.

D

19,200 is the closest standard baud rate...

check to see that program uploading is not screwing up the LCD.. just leave it unconnected until the Arduino has finished the boot process. Sharing the port often presents lots of problems.

Will do.

The SparkFun LCD is supposed to be used at 9600.

PS I wrote that tutorial for a different serial LCD... you have to go through the manual for the Sparkfun LCd and verify that each command is equivalent to what's in the tutorial.

D

Yep, the commands are different. I've rewritten the ones I needed, thanks for the starting point!