您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

16 行
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()