Skip to content

Commit d50c6ad

Browse files
committed
update arduino examples for 2025 magtag
1 parent 3d6be48 commit d50c6ad

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

MagTag/MagTag_Arduino_Demos/deep_sleep/deep_sleep.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
#include "magtaglogo.h"
88

99
Adafruit_NeoPixel intneo = Adafruit_NeoPixel(4, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
10-
ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
10+
// older pre-2025 magtag
11+
//ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
12+
// magtag with SSD1680Z chipset
13+
ThinkInk_290_Grayscale4_EAAMFGN display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
1114

1215
void setup() {
1316
//Initialize serial and wait for port to open:

MagTag/MagTag_Arduino_Demos/quotes/quotes.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ const char* server = "www.adafruit.com";
2222
const char* path = "/api/quotes.php";
2323

2424
WiFiClientSecure client;
25-
ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
25+
// older pre-2025 magtag
26+
//ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
27+
// magtag with SSD1680Z chipset
28+
ThinkInk_290_Grayscale4_EAAMFGN display(EPD_DC, EPD_RESET, EPD_CS, -1, -1);
2629
Adafruit_NeoPixel intneo = Adafruit_NeoPixel(4, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
2730

2831

0 commit comments

Comments
 (0)