Skip to content

Commit 258ab80

Browse files
authored
Update intro comments IP10/Inkplate_Touchpads.ino (#125)
Cleaned up some of the verbiage to remove spelling mistakes and make read a bit easier.
1 parent 53e4db1 commit 258ab80

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/Inkplate10/Advanced_Inkplate_Features/Inkplate_Touchpads/Inkplate_Touchpads.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
Don't have "Inkplate 10(ESP32)" option? Follow our tutorial and add it:
66
https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/
77
8-
This example will show you how you can use built-in touchpads (on PCB marked with numbers 1, 2 and 3).
8+
This example will show you how you can use the built-in touchpads (on PCB marked with numbers 1, 2 and 3).
99
These are basically touch sensitive switches. You can read state each of these with function readTouchpad()
1010
and the argument you need to pass to this function is PAD1 if you want to read the state of touchpad marked
1111
as "1" on PCB, PAD2 for second touchpad, PAD3 for third. You can also use numbers as arguments.
12-
For that you need to pass number 0 for touchpad that is marked as 1 on PCB, 1 for second touchpad and 2 for third.
13-
Function will return 1 if selected touchpad is pressed, zero if not.
12+
For that you need to pass number 0 for touchpad that is marked as 1 on the PCB, 1 for the second touchpad and 2 for the third.
13+
The function readTouchpad() will return 1 if selected touchpad is pressed, zero if not.
1414
15-
In this example, if you touch first pad, ti will decrese number showed on screen, if you touch thirs touch pad,
16-
it will increase the number, if you touch second touchpad, it will reset number to zero.
15+
In this example, if you touch the first pad, it will decrese number showed on screen, if you touch the third touch pad,
16+
it will increase the number, if you touch second touchpad, it will reset the number to zero.
1717
18-
NOTE: You can not use touch pads when enclosure is fitted on the Inkplate - they are not that sensitive!
18+
NOTE: You can not use touch pads when an enclosure is fitted on the Inkplate - they are not that sensitive!
1919
2020
Want to learn more about Inkplate? Visit www.inkplate.io
2121
Looking to get support? Write on our forums: http://forum.e-radionica.com/en/

0 commit comments

Comments
 (0)