Update text
authorCamil Staps <info@camilstaps.nl>
Sat, 17 Jun 2017 14:42:17 +0000 (14:42 +0000)
committerCamil Staps <info@camilstaps.nl>
Sat, 17 Jun 2017 14:42:17 +0000 (14:42 +0000)
terminal/terminal.ino

index 7595e50..5880acf 100644 (file)
@@ -58,6 +58,7 @@ struct backlight backlight;
  * and call setCursor afterwards.
  */
 byte char_music[8] = {0x02,0x03,0x02,0x0e,0x1e,0x0c,0x00};
+byte char_smile[8] = {0x00,0x00,0x0a,0x00,0x11,0x0e,0x00};
 byte char_bar_1[8] = {0x00,0x00,0x00,0x00,0x00,0x00,0x1f};
 byte char_bar_2[8] = {0x00,0x00,0x00,0x00,0x00,0x1f,0x1f};
 byte char_bar_3[8] = {0x00,0x00,0x00,0x00,0x1f,0x1f,0x1f};
@@ -144,7 +145,7 @@ void write(struct terminal *term, char ch)
 struct terminal term;
 
 char message[] =
-       "Beste Mart, van harte gefeliciteerd! \x00\x00\r\n"
+       "Beste Mart, van harte gefeliciteerd! \x01\x00\r\n"
        "Hier een herprogrammeerbare terminal. ";
 
 /**
@@ -239,13 +240,7 @@ void bl_flash()
 void setup()
 {
        lcd.createChar(0, char_music);
-       lcd.createChar(1, char_hbar_start_full);
-       lcd.createChar(2, char_hbar_start_empty);
-       lcd.createChar(3, char_hbar_inner_full);
-       lcd.createChar(4, char_hbar_inner_half);
-       lcd.createChar(5, char_hbar_inner_empty);
-       lcd.createChar(6, char_hbar_end_full);
-       lcd.createChar(7, char_hbar_end_empty);
+       lcd.createChar(1, char_smile);
 
        lcd.begin(COLS, ROWS);
        lcd.blink();