Update gemma_m0_clockwork_goggles.py
This commit is contained in:
parent
7ac9d22212
commit
2f475317cf
1 changed files with 6 additions and 5 deletions
|
|
@ -10,16 +10,17 @@ pixpinLeft = board.D1 #Data In attached to Gemma pin D1
|
|||
pixpinRight = board.D0 #Data In attached to Gemma pin D0
|
||||
numpix = 16
|
||||
|
||||
#Use these lines for RGBW NeoPixels
|
||||
#stripLeft = neopixel.NeoPixel(pixpinLeft, numpix, bpp=4, brightness=.18,
|
||||
# auto_write=False)
|
||||
#stripRight = neopixel.NeoPixel(pixpinRight, numpix, bpp=4, brightness=.18,
|
||||
# auto_write=False)
|
||||
#uncomment the lines below for RGB NeoPixels
|
||||
stripLeft = neopixel.NeoPixel(pixpinLeft, numpix, bpp=3, brightness=.18,
|
||||
auto_write=False)
|
||||
stripRight = neopixel.NeoPixel(pixpinRight, numpix, bpp=3, brightness=.18,
|
||||
auto_write=False)
|
||||
#Use these lines for RGBW NeoPixels
|
||||
#stripLeft = neopixel.NeoPixel(pixpinLeft, numpix, bpp=4, brightness=.18,
|
||||
# auto_write=False)
|
||||
#stripRight = neopixel.NeoPixel(pixpinRight, numpix, bpp=4, brightness=.18,
|
||||
# auto_write=False)
|
||||
|
||||
|
||||
|
||||
def cog(pos):
|
||||
|
|
|
|||
Loading…
Reference in a new issue