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

21 lines
313 B
Arduino
Raw Normal View History

2020-09-09 10:27:49 +02:00
#include "Inkplate.h"
2020-09-10 13:50:09 +02:00
2020-09-21 15:21:25 +02:00
Inkplate display(INKPLATE_1BIT);
2020-09-07 11:40:01 +02:00
void setup()
{
Serial.begin(115200);
2020-09-23 14:55:41 +02:00
pinMode(12, INPUT);
pinMode(13, INPUT);
2020-09-09 10:27:49 +02:00
display.begin();
delay(500);
2020-09-07 11:40:01 +02:00
}
void loop()
{
2020-09-23 14:55:41 +02:00
Serial.println(analogRead(12));
Serial.println(analogRead(13));
Serial.println();
delay(1000);
2020-09-07 11:40:01 +02:00
}