interact.py 295 Bytes
import colorsys
import time

from abstract import *

RED: tuple[int, int, int] = (255, 0, 0)
GREEN: tuple[int, int, int] = (0, 255, 0)
BLUE: tuple[int, int, int] = (0, 0, 255)


def run(apds: ProximitySensor, pixels: LEDController, touch: TouchSensor):
    while True:
        pixels.fill(BLUE)