Skip to content

Commit 96b8991

Browse files
committed
linter fix
1 parent 9bbc746 commit 96b8991

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

content/hardware/10.mega/shields/giga-display-shield/tutorials/05.basic-touch/basic-touch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ The IRQ example demonstrates how to set up an interrupt that triggers a function
7171

7272
An important factor to consider is that the `loop()` on the GIGA R1 is executed at a very fast rate, meaning that you will register several touches each time you touch the screen.
7373

74-
This means that whenever you tap the screen, even quickly, you register somewhere between **5-20 touches**. So if you want a specific function to execute on a specific touch point, you will need to implement a delay in your code.
74+
This means that whenever you tap the screen, even quickly, you register somewhere between **5-20 touches**. So if you want a specific function to only execute once on a specific touch point, you will need to implement a delay in your code.
7575

76-
Using the convential, but blocking `delay(microseconds)`, is possible but not ideal. The best method to register only a single touch is through using the `millis()` method.
76+
Using the conventional, but blocking `delay(microseconds)` method is possible but not ideal. The best method to register only a single touch is through using the `millis()` method.
7777

7878
The example below is based on the **Polling Example**, and limits the if statement to only execute once every `250` milliseconds. This can be edited in the `threshold` variable.
7979

@@ -119,7 +119,7 @@ void loop() {
119119
}
120120
```
121121

122-
## GFX Boolean Example
122+
## GFX Touch Example
123123

124124
The below example requires uses the [Arduino_GigaDisplay_GFX](https://github.com/arduino/Arduino_GigaDisplay_GFX) library, and demonstrates how to change a boolean whenever you touch the screen. It implements the `millis()` function to limit the number of executions.
125125

0 commit comments

Comments
 (0)