Awesome
Bongo
A cute bongo cat for your display. Reacts to key input.
Quick Start
-
Install dependencies with Circup:
circup install -r requirements.txt
Make sure you have downloaded requirements.txt and your device is connected.
Alternatively you can download and copy dependencies to the
/lib
directory manually. -
Download the latest release and copy its contents to your device
Usage
from adafruit_macropad import MacroPad
from bongo.bongo import Bongo
# Create and show bongo
macropad = MacroPad()
bongo = Bongo()
macropad.display.show(bongo.group)
# Main loop
while True:
key_event = macropad.keys.events.get()
bongo.update(key_event)
API
Position
You can position bongo by setting bongo.x
and bongo.y
:
bongo.x = 30
bongo.y = 20
Animation Time
You can adjust the bounce and tap animation time when creating a bongo instance:
bongo = Bongo(bounce_time=0.05, tap_time=0.05)
Dependencies
- Adafruit's CircuitPython NeoPixel library
- Adafruit's CircuitPython HID library
- Adafruit's CircuitPython MIDI library
- Adafruit's CircuitPython Display Text library
- Adafruit's CircuitPython Simple Text Display library
- Adafruit's CircuitPython Debouncer library
- Adafruit's CircuitPython Image Load library
- Adafruit's CircuitPython MacroPad library