You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
317 B

"""
Main program loop for SnakeSwitch
https://github.com/adafruit/snakeswitch
* Author(s): Brennen Bearnes
"""
import board
from snakeswitch import SnakeSwitch
from switch_config import LAYOUTS
SWITCH_PINS = (board.D5, board.D6, board.D9)
ss = SnakeSwitch(SWITCH_PINS, LAYOUTS)
while True:
ss.advance_frame()