Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Tether

Lightweight JSON-RPC client for Arduino over serial.

Pair with tether-arduino on the device side.

Install

pip install tether

Usage

fromtetherimportTetherdevice=Tether("/dev/ttyACM0")
device.ping() # {"command": "ping", "status": "pong"}device.get_a2() # {"command": "get_a2", "raw": 512, "voltage": 2.5}device.set_focus(0.5) # positional arg sent as "value"

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages