Preview:
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)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter