Add schema diagram and hardware debouncing instructions to README.md
This commit is contained in:
@@ -42,6 +42,12 @@ A game controller using a Seeed Studio XIAO nRF52840 Sense board that emulates a
|
|||||||
- **Character Mapping:** Each button event sends a unique character.
|
- **Character Mapping:** Each button event sends a unique character.
|
||||||
- **Serial Debugging:** Outputs button events and Bluetooth connection status to the serial monitor.
|
- **Serial Debugging:** Outputs button events and Bluetooth connection status to the serial monitor.
|
||||||
|
|
||||||
|
## Schema
|
||||||
|
|
||||||
|
Connect each button to its corresponding pin. For reliable input readings add hardware debouncing: use a pull-up resistor 10 kΩ and an RC filter with a 100 nF capacitor across the switch — an RC time constant around 1 ms works well.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Button Mappings
|
## Button Mappings
|
||||||
|
|
||||||
| Button | Single Click | Double Click | Long Press |
|
| Button | Single Click | Double Click | Long Press |
|
||||||
|
|||||||
BIN
arduino/Schema.png
Normal file
BIN
arduino/Schema.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 150 KiB |
Reference in New Issue
Block a user