Skip to content

Commit a541dcc

Browse files
committed
Update EEPROMUsage.ino
1 parent 081dfac commit a541dcc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/Inkplate5V2/Advanced/Other/EEPROMUsage/EEPROMUsage.ino

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
**************************************************
2020
*/
2121

22-
#if !defined(ARDUINO_ESP32_DEV) && !defined(ARDUINO_INKPLATE6V2)
23-
#error "Wrong board selection for this example, please select e-radionica Inkplate6 or Soldered Inkplate6 in the boards menu."
24-
#endif
25-
2622
#include <EEPROM.h> // ESP32 EEPROM library
2723
#include <Inkplate-LVGL.h> // Inkplate + LVGL
2824

@@ -76,7 +72,7 @@ void setup()
7672
lv_obj_set_style_text_color(lbl_text, lv_color_hex(0x000000), 0);
7773
lv_obj_set_style_text_font(lbl_text, &lv_font_montserrat_20, 0);
7874
lv_label_set_long_mode(lbl_text, LV_LABEL_LONG_WRAP);
79-
lv_obj_set_width(lbl_text, 800 - 16); // fit the Inkplate 6 width minus margins
75+
lv_obj_set_width(lbl_text, 800 - 16);
8076

8177
// 1) Clear
8278
Serial.println("Clearing EEPROM...");

0 commit comments

Comments
 (0)