Moved dotstar import
This commit is contained in:
parent
2837e427c6
commit
67c09570a0
2 changed files with 2 additions and 6 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import time
|
||||
|
||||
import adafruit_dotstar
|
||||
import board
|
||||
|
||||
# For Trinket M0, Gemma M0, and ItsyBitsy M0 Express
|
||||
import adafruit_dotstar
|
||||
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
||||
# For Feather M0 Express, Metro M0 Express, Metro M4 Express, and Circuit Playground Express
|
||||
# import neopixel
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
import time
|
||||
|
||||
import adafruit_dotstar
|
||||
import board
|
||||
|
||||
# For Trinket M0, Gemma M0, and ItsyBitsy M0 Express
|
||||
import adafruit_dotstar
|
||||
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
||||
|
||||
|
||||
# For Feather M0 Express, Metro M0 Express, Metro M4 Express and Circuit Playground Express
|
||||
# import neopixel
|
||||
# led = neopixel.NeoPixel(board.NEOPIXEL, 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue