import time
from config import Config
from scoreboard import ScoreBoard
if __name__ == "__main__":
cfg = Config()
sb = ScoreBoard.from_config(cfg)
sb.selftest(2)
# while True:
# for i in range(128):
# sb[i] = (100, 0, 0) # Красный
# sb.write()
# time.sleep_ms(50)
# sb[i] = (0, 0, 0) # Выключить