Skip to content

Commit c9dc1a4

Browse files
authored
Update Inkplate_Basic.ino
1 parent 21c0382 commit c9dc1a4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/Inkplate2/Basic_Inkplate_Functionality/Inkplate_Basic/Inkplate_Basic.ino

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
15 Feb 2022 by e-radionica.com
1515
*/
1616

17+
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them
18+
#ifndef ARDUINO_INKPLATE2
19+
#error "Wrong board selection for this example, please select Inkplate 2 in the boards menu."
20+
#endif
21+
1722
#include "Inkplate.h"
1823

1924
// Initialize Inkplate object
@@ -57,4 +62,4 @@ void setup()
5762
void loop()
5863
{
5964
// Empty...
60-
}
65+
}

0 commit comments

Comments
 (0)