needs cleanup still
This commit is contained in:
@@ -86,7 +86,7 @@ void LCDDisplay::writeBuf(uint8_t row, uint8_t col, std::string str) {
|
||||
|
||||
/* hyper optimized buffer flush command, writes whole disp with a single write */
|
||||
void LCDDisplay::flushBuffer() {
|
||||
char writebuf[168]; // 4x40 chars + 2x4 setcursor commands + 1 null terminator
|
||||
char writebuf[168]; // 4x40 chars + 2x4 setcursor commands
|
||||
uint8_t setDisp[] = {254, 71, 1}; // skeleton set cursor command
|
||||
|
||||
std::memcpy(&writebuf[0], setDisp, 3); // copy template set cursor command
|
||||
|
||||
Reference in New Issue
Block a user