Python code to control an R2D2 (or other astromech) from a Raspberry Pi over i2c
A Raspberry Pi is connected to Adafruit i2c servo controllers (http://www.adafruit.com/products/815)
Rewriting to use HTTP and REST.
Flask
Check out the wiki: https://github.com/dpoulson/r2_control/wiki
Main process * Read config * Create objects * Create REST tree * lights * lcd * servo * audio * script
APIs Implemented:
Read the wiki.
To see some parts of this in action, follow my instagram: https://www.instagram.com/r2djp/
$ claude mcp add r2_control \
-- python -m otcore.mcp_server <graph>