summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/ILI9341.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/MultiLCD/ILI9341.cpp')
-rw-r--r--libraries/MultiLCD/ILI9341.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/MultiLCD/ILI9341.cpp b/libraries/MultiLCD/ILI9341.cpp
index 5c6df57..32b2356 100644
--- a/libraries/MultiLCD/ILI9341.cpp
+++ b/libraries/MultiLCD/ILI9341.cpp
@@ -241,8 +241,8 @@ void LCD_ILI9341::begin (void)
clear();
backlight(true);
- setTextColor(0xffff);
- SetBGColor(0);
+ setColor(0xffff);
+ setBackColor(0);
}
uint8_t LCD_ILI9341::readID(void)
@@ -487,7 +487,7 @@ void LCD_ILI9341::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t heig
m_x += width;
}
-void LCD_ILI9341::draw2x(const PROGMEM byte* buffer, byte width, byte height)
+void LCD_ILI9341::draw(const PROGMEM byte* buffer, uint16_t width, uint16_t height, byte scaleX, byte ScaleY)
{
byte rows = height >> 3;
setXY(m_y, m_y + height * 2 - 1, m_x, m_x + width * 2 - 1);