Skip to content

Commit 22dd021

Browse files
committed
Updated the library
- Updated examples with Inkplate Image Converter - Migrated the image bytes to a separate header file and included them in the examples - Fixed compile tests - Updated Linter version
1 parent a361fb2 commit 22dd021

File tree

94 files changed

+1476
-1132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1476
-1132
lines changed

examples/Inkplate10/Advanced/DeepSleep/Inkplate10_Simple_Deep_Sleep/Inkplate10_Simple_Deep_Sleep.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
1717
11 February 2021 by Soldered
18+
19+
In order to convert your images into a format compatible with Inkplate
20+
use the Soldered Image Converter available at:
21+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
1822
*/
1923

2024
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Advanced/Other/Inkplate10_Read_Battery_Voltage/Inkplate10_Read_Battery_Voltage.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
Want to learn more about Inkplate? Visit www.inkplate.io
1111
Looking to get support? Write on our forums: https://forum.soldered.com/
1212
23 January 2023 by Soldered
13+
14+
In order to convert your images into a format compatible with Inkplate
15+
use the Soldered Image Converter available at:
16+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
1317
*/
1418

1519
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Advanced/Other/Inkplate10_Read_Temperature/Inkplate10_Read_Temperature.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
Want to learn more about Inkplate? Visit www.inkplate.io
1212
Looking to get support? Write on our forums: https://forum.soldered.com/
1313
23 January 2023 by Soldered
14+
15+
In order to convert your images into a format compatible with Inkplate
16+
use the Soldered Image Converter available at:
17+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
1418
*/
1519

1620
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Basic/Inkplate10_Black_And_White/Inkplate10_Black_And_White.ino

Lines changed: 7 additions & 224 deletions
Large diffs are not rendered by default.

examples/Inkplate10/Basic/Inkplate10_Black_And_White/logo.h

Lines changed: 229 additions & 0 deletions
Large diffs are not rendered by default.

examples/Inkplate10/Basic/Inkplate10_Grayscale/image.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
//Array that holds data for grayscale image of 500x332 pixels. You can convert your own image using Inkplate Image Converter.
2-
//Image source: https://www.peakpx.com/583083/grayscale-photo-of-lighthouse
1+
/*
2+
In order to convert your images into a format compatible with Inkplate
3+
use the Soldered Image Converter available at:
4+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
5+
*/
36
const uint8_t picture1[] = {
47
0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x99, 0x98, 0x88, 0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x98, 0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xbb, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xab, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xab, 0xbb, 0xbb, 0xbb, 0xbb, 0xbc, 0xcb, 0xbc, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xbb, 0xba, 0xaa, 0xaa, 0x99, 0x99, 0x89, 0x88, 0x88, 0x88, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x66, 0x66, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x78, 0x88, 0x87, 0x88, 0x88, 0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0xa9, 0x99, 0x99, 0xaa, 0xab, 0xba, 0xaa, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xbb, 0xbb, 0xbc, 0xcc, 0xcc, 0xcb, 0xbb, 0xbb, 0xbb, 0xaa, 0xaa, 0x9a, 0xaa, 0xaa, 0xaa, 0xbb, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xbb, 0xaa, 0xaa, 0xaa, 0xaa, 0x99, 0x99, 0x98, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x88, 0x89, 0x88, 0x88, 0x88, 0x88, 0x88, 0x99, 0x88, 0x88, 0x88, 0x89, 0x99, 0x99, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xab, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xab, 0xba, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xa9, 0x9a, 0xaa, 0xaa, 0xba, 0xaa, 0xba, 0x9a, 0xba, 0xaa, 0xa9, 0x98, 0x88, 0x87, 0x77, 0x88, 0x88, 0x77, 0x88, 0x88, 0x88, 0x87, 0x88, 0x88, 0x78, 0x88, 0x87, 0x77, 0x77,
58
0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x99, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x99, 0x99, 0x99, 0x88, 0x88, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x9a, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa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xaa, 0xaa, 0xaa, 0xaa, 0x99, 0xa9, 0x99, 0xaa, 0x99, 0x99, 0x9a, 0xa9, 0xaa, 0xa9, 0x88, 0x88, 0x77, 0x77, 0x87, 0x77, 0x77, 0x77, 0x77, 0x77, 0x76, 0x67, 0x77, 0x88, 0x77, 0x77, 0x66, 0x66,

examples/Inkplate10/Projects/Inkplate10_Daily_Weather_Station/Inkplate10_Daily_Weather_Station.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
1717
11 February 2021 by Soldered
18+
19+
In order to convert your images into a format compatible with Inkplate
20+
use the Soldered Image Converter available at:
21+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
1822
*/
1923

2024
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Projects/Inkplate10_Hourly_Weather_Station/Inkplate10_Hourly_Weather_Station.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
1717
11 February 2021 by Soldered
18+
19+
In order to convert your images into a format compatible with Inkplate
20+
use the Soldered Image Converter available at:
21+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
1822
*/
1923

2024
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Projects/Inkplate10_OpenWeather_Station/Inkplate10_OpenWeather_Station.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
11 February 2021 by Soldered
1818
1919
Code for Moonphase and moon fonts taken from here: https://learn.adafruit.com/epaper-weather-station/arduino-setup
20+
21+
In order to convert your images into a format compatible with Inkplate
22+
use the Soldered Image Converter available at:
23+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
2024
*/
2125

2226
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

examples/Inkplate10/Projects/Inkplate10_Youtube_Subscriber_Counter/Inkplate10_Youtube_Subscriber_Counter.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
Want to learn more about Inkplate? Visit www.inkplate.io
2020
Looking to get support? Write on our forums: https://forum.soldered.com/
2121
16 Aug 2023 by Soldered
22+
23+
In order to convert your images into a format compatible with Inkplate
24+
use the Soldered Image Converter available at:
25+
https://github.com/SolderedElectronics/Soldered-Image-Converter/releases
2226
*/
2327

2428
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them

0 commit comments

Comments
 (0)