Skip to content

Commit 2ba043e

Browse files
committed
Further fixed things for compile examples
1 parent a55f032 commit 2ba043e

File tree

7 files changed

+14
-22
lines changed

7 files changed

+14
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Inkplate 6 was crowdfunded on [Crowd Supply](https://www.crowdsupply.com/e-radio
1414
In order to get a head start with Inkplate (any), follow these steps:
1515

1616
1. [Install Inkplate board definition](https://github.com/SolderedElectronics/Dasduino-Board-Definitions-for-Arduino-IDE/blob/master/README.md) - add Inkplate 6/10/6PLUS/6COLOR/2 as a board into your Arduino IDE. Follow the instructions on the [link](https://soldered.com/learn/add-inkplate-6-board-definition-to-arduino-ide/).
17-
2. Install CH340 drivers (if you don't have them yet) - instructions [here](https://soldered.com/learn/ch340-driver-installation-croduino-basic3-nova2/)
17+
2. If you aren't using macOS install CH340 drivers (in case you don't have them yet) - instructions [here](https://soldered.com/learn/ch340-driver-installation-croduino-basic3-nova2/)
1818
3. Install Inkplate Arduino library - Install the library from the Arduino Library Manager (just type "Inkplate" and click "Install") or install it with this repo. If you don't know how, check our [tutorial](https://soldered.com/learn/arduino-library/#Kako%20instaliraty%20library?).
1919
4. You are ready to get started! Select Tools -> Board -> Inkplate Boards and then pick correct one, as well as correct COM port and upload!
2020

examples/Inkplate10/Advanced/DeepSleep/Inkplate10_Wake_Up_On_Touchpads/Inkplate10_Wake_Up_On_Touchpads.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
1010
NOTE: This is an example for the old Inkplates that have touchpads.
1111
12+
IMPORTANT: Some old Inkplate boards require an additional 10k PULL-UP resistor for this to work
13+
For more info, see https://github.com/SolderedElectronics/Inkplate-Arduino-library/issues/179#issuecomment-1562360919
14+
1215
Want to learn more about Inkplate? Visit www.inkplate.io
1316
Looking to get support? Write on our forums: https://forum.soldered.com/
1417
15 March 2023 by Soldered

examples/Inkplate6/Advanced/DeepSleep/Inkplate6_Wake_Up_On_Touchpads/Inkplate6_Wake_Up_On_Touchpads.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
https://soldered.com/learn/add-inkplate-6-board-definition-to-arduino-ide/
77
88
Here is shown how to use I/O Expander and ESP interrupts to wake up the MCU from deepsleep when touchpad is pressed.
9+
10+
IMPORTANT: Some old Inkplate boards require an additional 10k PULL-UP resistor for this to work
11+
For more info, see https://github.com/SolderedElectronics/Inkplate-Arduino-library/issues/179#issuecomment-1562360919
912
1013
Want to learn more about Inkplate? Visit www.inkplate.io
1114
Looking to get support? Write on our forums: https://forum.soldered.com/

examples/Inkplate6COLOR/Advanced/Communications/Inkplate6COLOR_Bluetooth_Peripheral_Mode/Peripheral.h

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,17 +218,7 @@ void run(char commandBuffer[], size_t n, Inkplate *display, BluetoothSerial *Ser
218218
SerialBT->flush();
219219
}
220220
break;
221-
222-
case 'R':
223-
sscanf(s + 3, "%c", &b);
224-
if (b == '?')
225-
{
226-
SerialBT->print("#R(");
227-
SerialBT->print(display->getPanelDeepSleepState(), DEC);
228-
SerialBT->println(")*");
229-
SerialBT->flush();
230-
}
231-
break;
221+
232222
case 'S':
233223
sscanf(s + 3, "%d,%d,\"%149[^\"]\"", &x, &y, strTemp);
234224
n = strlen(strTemp);

examples/Inkplate6COLOR/Advanced/DeepSleep/Inkplate6COLOR_Wake_Up_On_Touchpads/Inkplate6COLOR_Wake_Up_On_Touchpads.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
https://soldered.com/learn/add-inkplate-6-board-definition-to-arduino-ide/
77
88
Here is shown how to use I/O Expander and ESP interrupts to wake up the MCU from deepsleep when touchpad is pressed.
9+
10+
IMPORTANT: Some old Inkplate boards require an additional 10k PULL-UP resistor for this to work
11+
For more info, see https://github.com/SolderedElectronics/Inkplate-Arduino-library/issues/179#issuecomment-1562360919
912
1013
Want to learn more about Inkplate? Visit www.inkplate.io
1114
Looking to get support? Write on our forums: https://forum.soldered.com/

examples/Inkplate6COLOR/Diagnostics/Inkplate6COLOR_Peripheral_Mode/Inkplate6COLOR_Peripheral_Mode.ino

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,16 +239,6 @@ void loop()
239239
}
240240
break;
241241

242-
case 'R':
243-
sscanf(s + 3, "%c", &b);
244-
if (b == '?')
245-
{
246-
Serial.print("#R(");
247-
Serial.print(display.getPanelDeepSleepState(), DEC);
248-
Serial.println(")*");
249-
Serial.flush();
250-
}
251-
break;
252242
case 'S':
253243
sscanf(s + 3, "%d,%d,\"%149[^\"]\"", &x, &y, strTemp);
254244
n = strlen(strTemp);

examples/Inkplate6PLUS/Advanced/DeepSleep/Inkplate6PLUS_Wake_Up_On_Touchscreen/Inkplate6PLUS_Wake_Up_On_Touchscreen.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
Here is shown how to use I/O expander and ESP interrupts to wake up the MCU from deepsleep when touchscreen or wake up button
99
is pressed.
1010
11+
IMPORTANT: Some old Inkplate boards require an additional 10k PULL-UP resistor for this to work
12+
For more info, see https://github.com/SolderedElectronics/Inkplate-Arduino-library/issues/179#issuecomment-1562360919
13+
1114
Want to learn more about Inkplate? Visit www.inkplate.io
1215
Looking to get support? Write on our forums: https://forum.soldered.com/
1316
8 December 2022 by Soldered

0 commit comments

Comments
 (0)