summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-06-10 10:37:43 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-06-10 10:37:43 +1000
commitd3fc63ae15172350247738d60edb5f42c8e9c2f0 (patch)
treef4123f60740626aaa43a26548d67ccd49f2d3472 /libraries/MultiLCD
parentfe9fcb70744e7d4669a911bee3ccce30eb91707e (diff)
download2021-arduino-obd-d3fc63ae15172350247738d60edb5f42c8e9c2f0.tar.gz
2021-arduino-obd-d3fc63ae15172350247738d60edb5f42c8e9c2f0.tar.bz2
2021-arduino-obd-d3fc63ae15172350247738d60edb5f42c8e9c2f0.zip
Update MultiLCD library
Diffstat (limited to 'libraries/MultiLCD')
-rw-r--r--libraries/MultiLCD/MultiLCD.cpp1
-rw-r--r--libraries/MultiLCD/SSD1289.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/libraries/MultiLCD/MultiLCD.cpp b/libraries/MultiLCD/MultiLCD.cpp
index d55874f..60291e1 100644
--- a/libraries/MultiLCD/MultiLCD.cpp
+++ b/libraries/MultiLCD/MultiLCD.cpp
@@ -7,7 +7,6 @@
#include <Arduino.h>
#include <Wire.h>
-#include <UTFT.h>
#include "MultiLCD.h"
#include "fonts.h"
diff --git a/libraries/MultiLCD/SSD1289.cpp b/libraries/MultiLCD/SSD1289.cpp
index 6552237..f2aebed 100644
--- a/libraries/MultiLCD/SSD1289.cpp
+++ b/libraries/MultiLCD/SSD1289.cpp
@@ -166,9 +166,11 @@ void LCD_SSD1289::clearPixels(uint16_t pixels)
void LCD_SSD1289::clear()
{
+ setColor(0);
+ fillRect(0, 0, 319, 239);
+ setColor(0xffff);
m_x = 0;
m_y = 0;
- clrScr();
}
size_t LCD_SSD1289::write(uint8_t c)