Add integer text scaling
This commit is contained in:
Submodule eink/eink updated: e62a7ed498...827decfcbd
@@ -334,6 +334,12 @@ int main()
|
||||
serial << F("e-Paper update") << F("\r\n");
|
||||
einkDisplay.update();
|
||||
|
||||
einkDisplay.clear();
|
||||
einkDisplay.drawText({0, 0 * 5 * 8}, "Big", eink_t::Color::BLACK, eink_t::Color::WHITE, 5);
|
||||
einkDisplay.drawText({0, 1 * 5 * 8}, "scale", eink_t::Color::BLACK, eink_t::Color::WHITE, 5);
|
||||
einkDisplay.drawText({0, 2 * 5 * 8}, "O.o", eink_t::Color::RED, eink_t::Color::WHITE, 5);
|
||||
einkDisplay.update();
|
||||
|
||||
serial << F("e-Paper sleep") << F("\r\n");
|
||||
einkDisplay.sleep();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user