Default Blink Sketch

PHOTO EMBED

Tue Feb 09 2021 15:19:48 GMT+0000 (UTC)

Saved by @octojon

import time
import adafruit_trellism4
 
trellis = adafruit_trellism4.TrellisM4Express()

while True:
    trellis.pixels[0,0] = (0, 100, 0)
    time.sleep(0.5)
    trellis.pixels[0,0] = (0, 0, 0)
    time.sleep(0.5)
content_copyCOPY

Works for the Adafruit NeoTrellis M4 development board