Skip to content

Instantly share code, notes, and snippets.

View elementc's full-sized avatar

Casey Doran elementc

View GitHub Profile
@elementc
elementc / code.py
Created May 16, 2021 22:22
serial byte read on keybow2040
import math
import board
from keybow2040 import Keybow2040, number_to_xy, hsv_to_rgb
import usb_cdc
# Some constants
FULLBRIGHT = 1
MINBRIGHT = 0.05
# Set up Keybow