28 lines
392 B
C++
28 lines
392 B
C++
#include "Inkplate.h"
|
|
#include "SdFat.h"
|
|
|
|
const int n = 500;
|
|
|
|
Inkplate display(INKPLATE_3BIT);
|
|
|
|
void setup()
|
|
{
|
|
Serial.begin(115200);
|
|
|
|
display.begin();
|
|
|
|
display.joinAP("e-radionica.com", "croduino");
|
|
|
|
delay(500);
|
|
}
|
|
|
|
void loop()
|
|
{
|
|
display.clearDisplay();
|
|
|
|
display.sdCardInit();
|
|
display.drawPngFromSd("png.png", 0, 0, 1, 0);
|
|
|
|
display.display();
|
|
delay(5000);
|
|
} |