repositories
/
liquid-crystal-terminal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e6aaffc
)
Update text
author
Camil Staps
<info@camilstaps.nl>
Sat, 17 Jun 2017 14:42:17 +0000
(14:42 +0000)
committer
Camil Staps
<info@camilstaps.nl>
Sat, 17 Jun 2017 14:42:17 +0000
(14:42 +0000)
terminal/terminal.ino
patch
|
blob
|
history
diff --git
a/terminal/terminal.ino
b/terminal/terminal.ino
index
7595e50
..
5880acf
100644
(file)
--- a/
terminal/terminal.ino
+++ b/
terminal/terminal.ino
@@
-58,6
+58,7
@@
struct backlight backlight;
* and call setCursor afterwards.
*/
byte char_music[8] = {0x02,0x03,0x02,0x0e,0x1e,0x0c,0x00};
* 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};
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[] =
struct terminal term;
char message[] =
- "Beste Mart, van harte gefeliciteerd! \x0
0
\x00\r\n"
+ "Beste Mart, van harte gefeliciteerd! \x0
1
\x00\r\n"
"Hier een herprogrammeerbare terminal. ";
/**
"Hier een herprogrammeerbare terminal. ";
/**
@@
-239,13
+240,7
@@
void bl_flash()
void setup()
{
lcd.createChar(0, char_music);
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();
lcd.begin(COLS, ROWS);
lcd.blink();