From bef5610af2e434193be7009e963fb3d537215cba Mon Sep 17 00:00:00 2001 From: ladyada Date: Mon, 21 Jul 2025 15:28:40 -0400 Subject: [PATCH] for new magtag! --- .../MagTag_Arduino_Demos/shipping_demo/shipping_demo.ino | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MagTag/MagTag_Arduino_Demos/shipping_demo/shipping_demo.ino b/MagTag/MagTag_Arduino_Demos/shipping_demo/shipping_demo.ino index f8c9e4992..2c8303f16 100644 --- a/MagTag/MagTag_Arduino_Demos/shipping_demo/shipping_demo.ino +++ b/MagTag/MagTag_Arduino_Demos/shipping_demo/shipping_demo.ino @@ -10,7 +10,12 @@ #include "magtaglogo.h" Adafruit_NeoPixel intneo = Adafruit_NeoPixel(4, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800); -ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1); + +// older pre-2025 magtag +//ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, -1, -1); +// magtag with SSD1680Z chipset +ThinkInk_290_Grayscale4_EAAMFGN display(EPD_DC, EPD_RESET, EPD_CS, -1, -1); + Adafruit_LIS3DH lis = Adafruit_LIS3DH(); uint8_t j = 0; @@ -18,7 +23,7 @@ void setup() { Serial.begin(115200); //while (!Serial) { delay(10); } delay(100); - Serial.println("Adafruit EPD Portal demo"); + Serial.println("Adafruit MagTag 2.9\" demo"); intneo.begin(); intneo.setBrightness(50);