|
5 | 5 | Don't have "Inkplate 10(ESP32)" option? Follow our tutorial and add it:
|
6 | 6 | https://e-radionica.com/en/blog/add-inkplate-6-to-arduino-ide/
|
7 | 7 |
|
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). |
9 | 9 | These are basically touch sensitive switches. You can read state each of these with function readTouchpad()
|
10 | 10 | and the argument you need to pass to this function is PAD1 if you want to read the state of touchpad marked
|
11 | 11 | 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. |
14 | 14 |
|
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. |
17 | 17 |
|
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! |
19 | 19 |
|
20 | 20 | Want to learn more about Inkplate? Visit www.inkplate.io
|
21 | 21 | Looking to get support? Write on our forums: http://forum.e-radionica.com/en/
|
|
0 commit comments