import board import neopixel import touchio import time led = neopixel.NeoPixel(board.NEOPIXEL, 10) tactil1 = touchio.TouchIn(board.A1) tactil2 = touchio.TouchIn(board.A2) while True: if tactil1.value: R = 64 else: R = 0 if tactil2.value: G = 64 else: G = 0 led[0] = (R, G, 0) time.sleep(0.2)