Skip to content

Commit 10193ef

Browse files
committed
Adding system message enable/disable. Add discrete enable/disable splash commands.
1 parent 2a9d4e2 commit 10193ef

5 files changed

+1452
-373
lines changed

firmware/OpenLCD/OpenLCD.ino

+18-2
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,27 @@ void updateDisplay()
239239

240240
clearFrameBuffer(); //Get rid of all characters in our buffer
241241
}
242-
//Enable or disable the displaying of system messages
242+
//Enable the displaying of system messages
243243
else if (incoming == 46) //. character
244244
{
245-
changeDisplaySystemMessages();
245+
enableDisplaySystemMessages();
246246
}
247+
//Disable the displaying of system messages
248+
else if (incoming == 47) // / character
249+
{
250+
disableDisplaySystemMessages();
251+
}
252+
//Enable the splash screen at power on
253+
else if (incoming == 48) //0 character
254+
{
255+
enableSplash();
256+
}
257+
//Disable the splash screen at power on
258+
else if (incoming == 49) //1 character
259+
{
260+
disableSplash();
261+
}
262+
247263
//If we get a second special setting character, then write it to the display
248264
//This allows us to print a pipe by escaping it as a double
249265
else if (incoming == 124) //| character

0 commit comments

Comments
 (0)