|
@@ -1,3 +1,5 @@
|
|
1
|
+// see https://github.com/sparkfun/SparkFun_SerLCD_Arduino_Library
|
|
2
|
+
|
1
|
3
|
#include <Arduino.h>
|
2
|
4
|
#include "SerialLCD.h"
|
3
|
5
|
|
|
@@ -83,6 +85,20 @@ void SerialLCD::position(int line, int col) {
|
83
|
85
|
delay(LCD_DELAY);
|
84
|
86
|
}
|
85
|
87
|
|
|
88
|
+void SerialLCD::saveSplash(void) {
|
|
89
|
+ lcd->write(0x7C);
|
|
90
|
+ lcd->write(0x0A);
|
|
91
|
+}
|
|
92
|
+
|
|
93
|
+void SerialLCD::enableSplash(void) {
|
|
94
|
+ lcd->write(0x7C);
|
|
95
|
+ lcd->write(0x30);
|
|
96
|
+}
|
|
97
|
+
|
|
98
|
+void SerialLCD::disableSplash(void) {
|
|
99
|
+ lcd->write(0x7C);
|
|
100
|
+ lcd->write(0x31);
|
|
101
|
+}
|
86
|
102
|
void SerialLCD::write(const char *text) {
|
87
|
103
|
lcd->print(text);
|
88
|
104
|
delay(LCD_DELAY);
|