Skip to content

Commit cb10c8d

Browse files
nitko12BornaBirogogi640gaffo
authored
Merging new changes (#132)
* Fixes for new board def * Update Inkplate6plus.cpp * Update intro comments IP10/Inkplate_Touchpads.ino (#125) Cleaned up some of the verbiage to remove spelling mistakes and make read a bit easier. * Update compile.yml * Update compile.yml * fix of Inkplate 5 not compiling examples Co-authored-by: Borna Biro <[email protected]> Co-authored-by: Goran Jurić <[email protected]> Co-authored-by: Mike Gaffney <[email protected]>
1 parent 42b90b3 commit cb10c8d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/compile.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ jobs:
88
matrix:
99
include:
1010
- board:
11-
fqbn: Dasduino_Boards:Inkplate:Inkplate6
11+
fqbn: Dasduino_Boards:esp32:Inkplate6
1212
additional-sketch-paths: |
1313
- examples/Inkplate6
1414
- board:
15-
fqbn: Dasduino_Boards:Inkplate:Inkplate10
15+
fqbn: Dasduino_Boards:esp32:Inkplate10
1616
additional-sketch-paths: |
1717
- examples/Inkplate10
1818
- board:
19-
fqbn: Dasduino_Boards:Inkplate:Inkplate5
19+
fqbn: Dasduino_Boards:esp32:Inkplate5
2020
additional-sketch-paths: |
2121
- examples/Inkplate5
2222
- board:
23-
fqbn: Dasduino_Boards:Inkplate:Inkplate6plus
23+
fqbn: Dasduino_Boards:esp32:Inkplate6plus
2424
additional-sketch-paths: |
2525
- examples/Inkplate6PLUS
2626
- board:
27-
fqbn: Dasduino_Boards:Inkplate:Inkplatecolor
27+
fqbn: Dasduino_Boards:esp32:Inkplate6COLOR
2828
additional-sketch-paths: |
2929
- examples/Inkplate6COLOR
3030
steps:
@@ -38,7 +38,7 @@ jobs:
3838
github-token: ${{ secrets.GITHUB_TOKEN }}
3939
platforms: |
4040
- source-url: https://github.com/e-radionicacom/Dasduino-Board-Definitions-for-Arduino-IDE/raw/master/package_Dasduino_Boards_index.json
41-
name: Dasduino_Boards:Inkplate
41+
name: Dasduino_Boards:esp32
4242
fqbn: ${{ matrix.board.fqbn }}
4343
libraries: |
4444
- source-path: ./

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/

src/boards/Inkplate6plus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,4 +582,4 @@ void Inkplate::einkOff()
582582
setPanelState(0);
583583
}
584584

585-
#endif
585+
#endif

0 commit comments

Comments
 (0)