https://github.com/ideoforms/gobox
Support for the That Little Box USB Go Box
https://github.com/ideoforms/gobox
Last synced: about 1 year ago
JSON representation
Support for the That Little Box USB Go Box
- Host: GitHub
- URL: https://github.com/ideoforms/gobox
- Owner: ideoforms
- Created: 2025-05-21T11:14:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-21T11:20:11.000Z (about 1 year ago)
- Last Synced: 2025-06-06T09:09:50.467Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gobox
Support for the That Little Box [USB Go Box](https://www.thatlittlebox.co.uk/usb-go-box).
## Installation
```
pip3 install gobox
```
## Usage
```python
box = USBGoBox()
def on_press(button_name):
# button_name will be one of yellow, blue, red, green, left, right
print("Button pressed: %s" % button_name)
box.on_press = on_press
```