Great. I will give that a try. I did manage to get some things working over the weekend, but I noticed two other issues. The home command seems to start at the second character away from home. Also I do get random characters once in awhile on the LCD and I am thinking either there is a bug or 115200 is to fast. Let me know if you can replicate these issues.
Loaded the firmware no problem and tried basic backlight on, which kind of works. Tried backlight on/off with a one second delay. No luck. Tried to send characters, no luck.
So it kind of working and it may be my inexperience, but I am not having much luck.
Even if I had a Microchip C example I am sure I can convert it to what I am using, but I appear to be lost.
I connected a standard HD44780 and can run the test program provided over USB and or LCDSmartie and it works fine. I wanted to use the RX/TX line on the board to connect to the serial port on an Arduino.
So has anyone tested the serial port of the PIC_LCD_Backpack?
It doesn't appear to work with the commands listed on the site.
Can't get the Seeeduino LCD backpack to work with serial. Not even the backlight works..
void setup() { Serial1.begin(9600); }
void loop() { // Example usage: clearLCD(); backlightOn(); //Print text on each line selectLineOne(); delay(100); Serial1.print("Line One"); delay(500); backlightOff(); } //Serial1LCD Functions void selectLineOne(){ //puts the cursor at line 0 char 0 Serial1.write(0xFE); //start command flag Serial1.write(0x47); //position Serial1.write(2); //position Serial1.write(0x9A); //end command flag } void clearLCD(){ Serial1.write(0xFE); //start command flag Serial1.write(0x58); //clear lcd command Serial1.write(0x9A); //end command flag } void backlightOn(){ //turns on the backlight Serial1.write(0xFE); //start command flag Serial1.write(0x42); //backlight on Serial1.write(30); //Stay on for 30 min Serial1.write(0x9A); //end command flag } void backlightOff(){ //turns off the backlight Serial1.write(0xFE); //start command flag Serial1.write(0x46); //backlight off Serial1.write(0x9A); //end command flag } void backlight50(){ //sets the backlight at 50% brightness Serial1.write(0xFE); //start command flag Serial1.write(0x98); //backlight brightness Serial1.write(128); //backlight level Serial1.write(0x9A); //end command flag }