Add integer text scaling
This commit is contained in:
parent
a2060c3ab5
commit
c9c2380332
@ -1 +1 @@
|
|||||||
Subproject commit e62a7ed49800dfae0337f5d62d12e1fcae8431fb
|
Subproject commit 827decfcbd19a2e40a76e70992c10af133b60416
|
@ -334,6 +334,12 @@ int main()
|
|||||||
serial << F("e-Paper update") << F("\r\n");
|
serial << F("e-Paper update") << F("\r\n");
|
||||||
einkDisplay.update();
|
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");
|
serial << F("e-Paper sleep") << F("\r\n");
|
||||||
einkDisplay.sleep();
|
einkDisplay.sleep();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user