Add double-click bridge launchers; document ledtest + launchers in READMEs
start-bridge.bat (Windows) and start-bridge.command (macOS/Linux, +x) sit next to bridge.py in both parts so readers can start the bridge with a double-click. READMEs now cover the launchers and the ledtest.py debug path.
This commit is contained in:
@@ -10,10 +10,12 @@ stick across an XY pad in real time, with the LED button still working.
|
||||
|
||||
```
|
||||
arduino/
|
||||
JoystickBridge/JoystickBridge.ino # streams "x,y,btn" + still drives the LED
|
||||
bridge/bridge.py # same serial <-> UDP relay as Part 1
|
||||
JoystickBridge/JoystickBridge.ino # streams "x,y,btn" + still drives the LED
|
||||
bridge/bridge.py # same serial <-> UDP relay as Part 1
|
||||
bridge/start-bridge.bat # Windows: double-click to start the bridge
|
||||
bridge/start-bridge.command # macOS/Linux: double-click (or ./) to start the bridge
|
||||
godot/
|
||||
ArduinoGodot/ # Godot 4 project: XY pad + dot + LED button
|
||||
ArduinoGodot/ # Godot 4 project: XY pad + dot + LED button
|
||||
```
|
||||
|
||||
## Wiring (adds to Part 1)
|
||||
@@ -24,5 +26,5 @@ LED from Part 1 on D13.
|
||||
## Run it
|
||||
|
||||
1. **Flash** `arduino/JoystickBridge/JoystickBridge.ino` to the Uno.
|
||||
2. **Bridge:** `python arduino/bridge/bridge.py` (leave running).
|
||||
2. **Bridge:** double-click `arduino/bridge/start-bridge.bat` (Windows) / `arduino/bridge/start-bridge.command` (macOS), or run `python arduino/bridge/bridge.py`. Leave it running.
|
||||
3. **Godot:** open `godot/ArduinoGodot/` in Godot 4 and press Play — move the stick.
|
||||
|
||||
Reference in New Issue
Block a user