diff options
author | Stanley Huang <stanleyhuangyc@live.com> | 2016-07-21 13:27:07 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@live.com> | 2016-07-21 13:27:07 +0800 |
commit | 578d81f3df6769dd91ec96715f19586b2da04843 (patch) | |
tree | cf6c2d72ea94dc2139c3c1d59c97239236b5fc3c | |
parent | cc4710d56398886f6878848496c61e160687f0b9 (diff) | |
download | 2021-arduino-obd-578d81f3df6769dd91ec96715f19586b2da04843.tar.gz 2021-arduino-obd-578d81f3df6769dd91ec96715f19586b2da04843.tar.bz2 2021-arduino-obd-578d81f3df6769dd91ec96715f19586b2da04843.zip |
Update MultiLCD library
-rw-r--r-- | libraries/MultiLCD/MultiLCD.h | 2 | ||||
-rw-r--r-- | libraries/MultiLCD/R61581.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/MultiLCD/MultiLCD.h b/libraries/MultiLCD/MultiLCD.h index 620023c..58f7a11 100644 --- a/libraries/MultiLCD/MultiLCD.h +++ b/libraries/MultiLCD/MultiLCD.h @@ -303,7 +303,7 @@ public: void clear(uint16_t x = 0, uint16_t y = 0, uint16_t width = 479, uint16_t height = 319); void draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height); void draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte scaleY = 0); - void draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height); + void draw2x(const PROGMEM byte* buffer, uint16_t width, uint16_t height); size_t write(uint8_t); void clearLine(byte line) { diff --git a/libraries/MultiLCD/R61581.cpp b/libraries/MultiLCD/R61581.cpp index b51bb36..c907df6 100644 --- a/libraries/MultiLCD/R61581.cpp +++ b/libraries/MultiLCD/R61581.cpp @@ -428,7 +428,7 @@ void LCD_R61581::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heigh m_x += width * scaleX; } -void LCD_R61581::draw4bpp(const PROGMEM byte* buffer, uint16_t width, uint16_t height) +void LCD_R61581::draw2x(const PROGMEM byte* buffer, uint16_t width, uint16_t height) { char buf[240]; Enable(); |