×

Our Technical Support team will be out of the office on Wednesday, April 23 starting at 12pm. Tech Support will reopen with normal hours on Thursday, April 24 at 9am. Thank you

Member #376072

Member Since: November 4, 2012

Country: United States

  • Product LCD-09395 | about 6 months ago

    I’ve created a new splash screen for the Serial LCD, now I want to save it to the Serial LCD memory. So, exactly how do I write a “control-j” to the Serial LCD. I’ve put in the required line to transmit special character 124, but I can figure out how to format the “control-j” line of code. I’ve Googled this for about an hour and can’t find an explanation or sample code anywhere. Here’s my code…

    void setup() {
      sLCD.begin(9600);            //Set serial baud rate with LCD
      sLCD.write(0XFE);            // = Decimal 254.  This line of code MUST preceed the next line      
      sLCD.write(0X01);            //Clears the screen.  (See SerLCD 2.5 Data Sheet, page 2, Section 3.3)
      sLCD.write(0xFE);            // = Decimal 254.  This line of code MUST preceed the next line 
      sLCD.write(134);             //Places cursor on Row 0, Col 6 (See Data Sheet, page 3)       
      sLCD.print("NEW");
      sLCD.write(0xFE);            // = Decimal 254.  This line of code MUST preceed the next line 
      sLCD.write(193);             //Places cursor on Row 1, Col 1 (See Data Sheet, page 3) 
     sLCD.print("SPLASH_SCREEN");
      sLCD.write(0X7c);            // = Decimal 124.  This line of code MUST preceed the next line 
      sLCD.write("< control >j");     /*If you copy & paste this code, remove the spaces in front of an behind "control".
                                      I had to add the spaces so that the inequality symbols and "control" would show up 
                                      This should save Splash Screen to LCD memory (but it doesn't)
                                      Multiple Errors are generated if quotation marks are omitted.*/
    }
    

    Instead of getting “NEW” on the first line and “SPLASH_SCREEN” on the second line, I get “ntrol>NEW” on the first line and “SPLASH_SCREENco” on the second line. Naturally you might leave off the quotation marks from around “< control > j”, but that just generates multiple errors. Any suggestions?

  • Product LCD-09394 | about 6 months ago

    I’ve created a new splash screen for the Serial LCD, now I want to save it to the Serial LCD memory. So, exactly how do I write a “control-j” to the Serial LCD. I’ve put in the required line to transmit special character 124, but I can figure out how to format the “control-j” line of code. I’ve Googled this for about an hour and can’t find an explanation or sample code anywhere. Here’s my code…

    void setup() {
      sLCD.begin(9600);            //Set serial baud rate with LCD
      sLCD.write(0XFE);            // = Decimal 254.  This line of code MUST preceed the next line      
      sLCD.write(0X01);            //Clears the screen.  (See SerLCD 2.5 Data Sheet, page 2, Section 3.3)
      sLCD.write(0xFE);            // = Decimal 254.  This line of code MUST preceed the next line 
      sLCD.write(134);             //Places cursor on Row 0, Col 6 (See Data Sheet, page 3)       
      sLCD.print("NEW");
      sLCD.write(0xFE);            // = Decimal 254.  This line of code MUST preceed the next line 
      sLCD.write(193);             //Places cursor on Row 1, Col 1 (See Data Sheet, page 3) 
     sLCD.print("SPLASH_SCREEN");
      sLCD.write(0X7c);            // = Decimal 124.  This line of code MUST preceed the next line 
      sLCD.write("< control >j");     /*If you copy & paste this code, remove the spaces in front of an behind "control".
                                      I had to add the spaces so that the inequality symbols and "control" would show up 
                                      This should save Splash Screen to LCD memory (but it doesn't)
                                      Multiple Errors are generated if quotation marks are omitted.*/
    }
    

    Instead of getting “NEW” on the first line and “SPLASH_SCREEN” on the second line, I get “ntrol>NEW” on the first line and “SPLASH_SCREENco” on the second line. Naturally you might leave off the quotation marks from around “< control > j”, but that just generates multiple errors. Any suggestions?

No public wish lists :(