esp32:mh-et_live_1.54-inches_e-paper
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| esp32:mh-et_live_1.54-inches_e-paper [2021/05/05 23:28] – created aistis | esp32:mh-et_live_1.54-inches_e-paper [2021/11/16 14:33] (current) – aistis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | MH-ET LIVE 1.54-inches E-Paper | + | MH-ET LIVE 1.54-inches E-Paper |
| ESP32 | ESP32 | ||
| - | veikia tik portus reikia pakeist | + | new version: https:// |
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | defaultinis pvz veikia tik portus reikia pakeist | ||
| https:// | https:// | ||
| + | new lib - recomended | ||
| + | <code cpp> | ||
| + | // GxEPD2_MinimumExample.ino by Jean-Marc Zingg | ||
| + | |||
| + | // purpose is e.g. to determine minimum code and ram use by this library | ||
| + | |||
| + | // see GxEPD2_wiring_examples.h of GxEPD2_Example for wiring suggestions and examples | ||
| + | // if you use a different wiring, you need to adapt the constructor parameters! | ||
| + | |||
| + | // uncomment next line to use class GFX of library GFX_Root instead of Adafruit_GFX, | ||
| + | //#include < | ||
| + | |||
| + | #include < | ||
| + | #include < | ||
| + | |||
| + | // select the display class and display driver class in the following file (new style): | ||
| + | #include " | ||
| + | |||
| + | // alternately you can copy the constructor from GxEPD2_display_selection.h or GxEPD2_display_selection_added.h of GxEPD2_Example to here | ||
| + | // e.g. for Wemos D1 mini: | ||
| + | // | ||
| + | |||
| + | // | ||
| + | GxEPD2_BW< | ||
| + | |||
| + | void setup() | ||
| + | { | ||
| + | display.init(); | ||
| + | // comment out next line to have no or minimal Adafruit_GFX code | ||
| + | display.setTextColor(GxEPD_BLACK); | ||
| + | display.firstPage(); | ||
| + | do | ||
| + | { | ||
| + | display.fillScreen(GxEPD_WHITE); | ||
| + | // comment out next line to have no or minimal Adafruit_GFX code | ||
| + | display.print(" | ||
| + | } | ||
| + | while (display.nextPage()); | ||
| + | } | ||
| + | |||
| + | void loop() {}; | ||
| + | </ | ||
| + | |||
| + | |||
| + | old lib | ||
| <code cpp> | <code cpp> | ||
esp32/mh-et_live_1.54-inches_e-paper.1620246505.txt.gz · Last modified: by aistis
