File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
libraries/ESP32/examples/GPIO/FunctionalInterruptLambda Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ This example demonstrates how to use lambda functions with FunctionalInterrupt f
22
22
- Optionally connect a second button to BOOT pin for advanced examples
23
23
24
24
```
25
- ESP32 Board Button 1 Button 2 (Optional) LED
26
- ─────────── ──────── ────────────────── ───
25
+ ESP32 Board Buttons + LED
26
+ ─────────── ────────────────
27
27
GPIO 4 ──────────── [BUTTON] ──── GND
28
- GPIO 0 (BOOT) ────── [BUTTON] ──── GND
29
- GPIO 2 ──────────── [LED] ──────── GND
30
- │
31
- [330Ω]
32
- │
33
- 3V3
28
+ GPIO 0 (BOOT) ───── [BUTTON] ──── GND
29
+ GPIO 2 ───── [R1] ─── [LED] ───── GND * R1 = resistor 220 ohms
30
+ │
31
+ [330Ω]
32
+ │
33
+ 3V3
34
34
```
35
35
36
36
## Important ESP32 Interrupt Behavior
@@ -208,4 +208,4 @@ The example uses these default pins (configurable in the source):
208
208
209
209
## Compilation Notes
210
210
211
- This example uses proper pointer captures for static/global variables to avoid compiler warnings about non-automatic storage duration.
211
+ This example uses proper pointer captures for static/global variables to avoid compiler warnings about non-automatic storage duration.
You can’t perform that action at this time.
0 commit comments