Moved dotstar import

This commit is contained in:
Kattni Rembor 2018-05-31 18:04:46 -04:00
parent 2837e427c6
commit 67c09570a0
2 changed files with 2 additions and 6 deletions

View file

@ -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

View file

@ -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)