Skip to content

Commit d3a6bdc

Browse files
committed
Finished working on Inkplate 5V2 examples
1 parent c05d493 commit d3a6bdc

File tree

49 files changed

+822
-641
lines changed

Some content is hidden

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

49 files changed

+822
-641
lines changed

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_Bluetooth_Peripheral_Mode/Inkplate5V2_Bluetooth_Peripheral_Mode.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
Want to learn more about Inkplate? Visit www.inkplate.io
1818
Looking to get support? Write on our forums: https://forum.soldered.com/
19-
28 March 2023 by Soldered
19+
15 April 2024 by Soldered
2020
*/
2121

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

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_Bluetooth_Serial/Inkplate5V2_Bluetooth_Serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
Want to learn more about Inkplate? Visit www.inkplate.io
1717
Looking to get support? Write on our forums: https://forum.soldered.com/
18-
21 March 2023 by Soldered
18+
15 April 2024 by Soldered
1919
*/
2020

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

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_EasyC/Inkplate5V2_EasyC.ino

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Inkplate5V2_easyC example for Soldered Inkplate 5 V2
3-
For this example you will need a USB-C cable, Inkplate 5,
3+
For this example you will need a USB-C cable, Inkplate 5 V2,
44
BME680 sensor with easyC connector on it: https://soldered.com/product/enviromental-air-quality-sensor-bme680-breakout/
55
and a easyC cable: https://soldered.com/product/easyc-cable-20cm/
66
Select "Soldered Inkplate5 V2" from Tools -> Board menu.
@@ -14,7 +14,7 @@
1414
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
17-
28 March 2023 by Soldered
17+
15 April 2024 by Soldered
1818
*/
1919

2020
// Next 3 lines are a precaution, you can ignore those, and the example would also work without them
@@ -63,29 +63,29 @@ void loop()
6363
display.setTextSize(8);
6464

6565
// Display the temperature icon and measured value
66-
display.setCursor(350, 40);
66+
display.setCursor(465, 53);
6767
display.print(bme680.readTemperature() + temperatureOffset);
6868
display.print(" *C");
69-
display.drawImage(temperature_icon, 158, 8, temperature_icon_w, temperature_icon_h,
69+
display.drawImage(temperature_icon, 210, 10, temperature_icon_w, temperature_icon_h,
7070
BLACK); // Arguments are: array variable name, start X, start Y, size X, size Y, color
7171

7272
// Display humidity icon and measured value
73-
display.setCursor(350, 245);
73+
display.setCursor(465, 325);
7474
display.print(bme680.readHumidity() / 10);
7575
display.print(" %");
76-
display.drawImage(humidity_icon, 150, 200, humidity_icon_w, humidity_icon_h,
76+
display.drawImage(humidity_icon, 199, 266, humidity_icon_w, humidity_icon_h,
7777
BLACK); // Arguments are: array variable name, start X, start Y, size X, size Y, color
7878

7979
// Display the pressure icon and measured value
8080
display.setTextSize(5);
81-
display.setCursor(350, 449);
81+
display.setCursor(465, 597);
8282
display.print(bme680.readPressure() * 10);
8383
display.print(" hPa");
84-
display.drawImage(pressure_icon, 150, 400, pressure_icon_w, pressure_icon_h,
84+
display.drawImage(pressure_icon, 199, 532, pressure_icon_w, pressure_icon_h,
8585
BLACK); // Arguments are: array variable name, start X, start Y, size X, size Y, color
8686

8787
// Display Soldered logo
88-
display.drawImage(logo, 755, 495, logo_w, logo_h,
88+
display.drawImage(logo, 1004, 658, logo_w, logo_h,
8989
BLACK); // Arguments are: array variable name, start X, start Y, size X, size Y, color
9090

9191
// This part of code actually drawing on the Inkplate screen, previous lines just drawing into the frame buffer

examples/Inkplate5V2/Advanced/Communications/Inkplate5V2_Second_SPI/Inkplate5V2_Second_SPI.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
Want to learn more about Inkplate? Visit www.inkplate.io
3030
Looking to get support? Write on our forums: https://forum.soldered.com/
31-
21 March 2023 by Soldered Electronics
31+
15 April 2024 by Soldered
3232
*/
3333

3434

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Partial_Update_With_Deep_Sleep/Inkplate5V2_Partial_Update_With_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
Want to learn more about Inkplate? Visit www.inkplate.io
1919
Looking to get support? Write on our forums: https://forum.soldered.com/
20-
21 March 2023 by Soldered
20+
15 April 2024 by Soldered
2121
*/
2222

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

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_RTC_Alarm_With_Deep_Sleep/Inkplate5V2_RTC_Alarm_With_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
Want to learn more about Inkplate? Visit www.inkplate.io
1313
Looking to get support? Write on our forums: https://forum.soldered.com/
14-
21 March 2023 by Soldered
14+
15 April 2024 by Soldered
1515
*/
1616

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

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Simple_Deep_Sleep/Inkplate5V2_Simple_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
17-
21 March 2023 by Soldered
17+
15 April 2024 by Soldered
1818
*/
1919

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

examples/Inkplate5V2/Advanced/DeepSleep/Inkplate5V2_Wake_Up_Button/Inkplate5V2_Wake_Up_Button.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
Want to learn more about Inkplate? Visit www.inkplate.io
1616
Looking to get support? Write on our forums: https://forum.soldered.com/
17-
24 July 2023 by Soldered
17+
15 April 2024 by Soldered
1818
*/
1919

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

examples/Inkplate5V2/Advanced/IO/Inkplate5V2_Internal_IO_Expander/Inkplate5V2_Internal_IO_Expander.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
Want to learn more about Inkplate? Visit www.inkplate.io
2424
Looking to get support? Write on our forums: https://forum.soldered.com/
25-
21 March 2023 by Soldered.
25+
15 April 2024 by Soldered
2626
*/
2727

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

examples/Inkplate5V2/Advanced/Other/Inkplate5V2_EEPROM_Usage/Inkplate5V2_EEPROM_Usage.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
Want to learn more about Inkplate? Visit www.inkplate.io
1414
Looking to get support? Write on our forums: https://forum.soldered.com/
15-
21 March 2023 by Soldered
15+
15 April 2024 by Soldered
1616
*/
1717

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

0 commit comments

Comments
 (0)