You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
254 B
12 lines
254 B
7 years ago
|
#!/bin/env python3
|
||
|
import gex
|
||
|
|
||
|
# the most basic neopixel demo
|
||
|
|
||
|
with gex.Client(gex.TrxRawUSB()) as client:
|
||
|
# Neopixel strip
|
||
|
strip = gex.Neopixel(client, 'npx')
|
||
|
# Load RGB to the strip
|
||
|
strip.load([0xFF0000, 0x00FF00, 0x0000FF, 0xFF00FF])
|
||
|
|