inkplate-6-arduino-library/test/test.ino

28 lines
369 B
Arduino
Raw Normal View History

2020-09-09 10:27:49 +02:00
#include "Inkplate.h"
#include "SdFat.h"
2020-09-10 13:50:09 +02:00
2020-09-14 15:44:57 +02:00
const int n = 500;
2020-09-14 12:07:34 +02:00
2020-09-18 10:16:14 +02:00
Inkplate display(INKPLATE_3BIT);
2020-09-07 11:40:01 +02:00
void setup()
{
Serial.begin(115200);
2020-09-09 10:27:49 +02:00
display.begin();
2020-09-18 10:34:12 +02:00
display.joinAP("", "");
2020-09-09 10:27:49 +02:00
delay(500);
2020-09-07 11:40:01 +02:00
}
void loop()
{
2020-09-09 10:27:49 +02:00
display.clearDisplay();
2020-09-07 11:40:01 +02:00
2020-09-18 10:16:14 +02:00
display.sdCardInit();
display.drawPngFromSd("png.png", 0, 0, 1, 0);
2020-09-14 12:07:34 +02:00
display.display();
2020-09-07 11:40:01 +02:00
delay(5000);
}