Add integer text scaling
This commit is contained in:
1 parent
a2060c3ab5
commit
c9c2380332
2 files changed
+7
-1
No files matched your search
+1
-1
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