Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

SR-DeckController

Minimal ESP-IDF 6 SimpleRadio controller for two two-axis joysticks and two buttons. It sends the SR-Controller CONTROL packet every 20 ms.

The two joysticks use the Jaculus ESP32-S3 deck mapping: stick 1 X/Y is GPIO 7/9, stick 2 X/Y is GPIO 6/8, and their push buttons are GPIO 10/11. The robot address is currently fixed at 2.

The connected Jaculus SSD1306 OLED uses I2C address 0x3C on SDA GPIO 14 and SCL GPIO 13. It shows the four axis positions and button state.

The serial log prints the four raw ADC values. Copy each axis's observed minimum, center, and maximum into kAxisConfig; set inverted to true for an axis that moves in the wrong direction.

idf.py set-target esp32s3
idf.py build flash monitor

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages