Merge pull request #3086 from ladyada/main
update for magtag with ssd1680z chip
This commit is contained in:
commit
c5510041a3
1 changed files with 7 additions and 2 deletions
|
|
@ -10,7 +10,12 @@
|
||||||
#include "magtaglogo.h"
|
#include "magtaglogo.h"
|
||||||
|
|
||||||
Adafruit_NeoPixel intneo = Adafruit_NeoPixel(4, PIN_NEOPIXEL, NEO_GRB + NEO_KHZ800);
|
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();
|
Adafruit_LIS3DH lis = Adafruit_LIS3DH();
|
||||||
|
|
||||||
uint8_t j = 0;
|
uint8_t j = 0;
|
||||||
|
|
@ -18,7 +23,7 @@ void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
//while (!Serial) { delay(10); }
|
//while (!Serial) { delay(10); }
|
||||||
delay(100);
|
delay(100);
|
||||||
Serial.println("Adafruit EPD Portal demo");
|
Serial.println("Adafruit MagTag 2.9\" demo");
|
||||||
|
|
||||||
intneo.begin();
|
intneo.begin();
|
||||||
intneo.setBrightness(50);
|
intneo.setBrightness(50);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue