Add integer text scaling

This commit is contained in:
BlackMark 2022-06-04 19:45:10 +02:00
parent a2060c3ab5
commit c9c2380332
2 changed files with 7 additions and 1 deletions

@ -1 +1 @@
Subproject commit e62a7ed49800dfae0337f5d62d12e1fcae8431fb
Subproject commit 827decfcbd19a2e40a76e70992c10af133b60416

View File

@ -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();