removed comments
This commit is contained in:
parent
97c8ca29fc
commit
4fd532e521
2 changed files with 0 additions and 4 deletions
|
|
@ -6,12 +6,10 @@
|
||||||
import time
|
import time
|
||||||
import board
|
import board
|
||||||
|
|
||||||
# For Trinket M0, Gemma M0, ItsyBitsy M0 Express, and ItsyBitsy M4 Express
|
|
||||||
if hasattr(board, "APA102_SCK"):
|
if hasattr(board, "APA102_SCK"):
|
||||||
import adafruit_dotstar
|
import adafruit_dotstar
|
||||||
|
|
||||||
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
||||||
# For Feather M0 Express, Metro M0 Express, Metro M4 Express, Circuit Playground Express, QT Py M0
|
|
||||||
else:
|
else:
|
||||||
import neopixel
|
import neopixel
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,10 @@ import time
|
||||||
import board
|
import board
|
||||||
from rainbowio import colorwheel
|
from rainbowio import colorwheel
|
||||||
|
|
||||||
# For Trinket M0, Gemma M0, ItsyBitsy M0 Express, and ItsyBitsy M4 Express
|
|
||||||
if hasattr(board, "APA102_SCK"):
|
if hasattr(board, "APA102_SCK"):
|
||||||
import adafruit_dotstar
|
import adafruit_dotstar
|
||||||
|
|
||||||
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)
|
||||||
# For Feather M0 Express, Metro M0 Express, Metro M4 Express, Circuit Playground Express, QT Py M0
|
|
||||||
else:
|
else:
|
||||||
import neopixel
|
import neopixel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue