Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
238 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
extern NewSoftSerial lcdSerial ; | ||
|
||
void LCD_MoveCursor(int pos) { | ||
Serial3.print(0xFE, BYTE) ; | ||
Serial3.print(0x80, BYTE) ; | ||
Serial3.print(pos, BYTE) ; | ||
lcdSerial.print(0xFE, BYTE) ; | ||
lcdSerial.print(0x80, BYTE) ; | ||
lcdSerial.print(pos, BYTE) ; | ||
} | ||
|
||
void LCD_ClearScreen() { | ||
Serial3.print(0xFE, BYTE) ; | ||
Serial3.print(0x01, BYTE) ; | ||
lcdSerial.print(0xFE, BYTE) ; | ||
lcdSerial.print(0x01, BYTE) ; | ||
} | ||
|
||
void LCD_SetBacklight(byte level) { | ||
Serial3.print(0x80, BYTE) ; | ||
Serial3.print(level, BYTE) ; | ||
lcdSerial.print(0x80, BYTE) ; | ||
lcdSerial.print(level, BYTE) ; | ||
} | ||
|
Oops, something went wrong.