forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
this code causes a board reset (USB de/re-enums) on save (sometimes on second save??)
Adafruit CircuitPython 0.10.1-16-gc0e1f58 on 2017-06-07; Adafruit Metro M0 Express with samd21g18
# ardx demo #12-1
from digitalio import *
from pulseio import *
from board import *
import time
redRED = PWMOut(D9)
greenLED = PWMOut(D10)
blueLED = PWMOut(D11)
RED = [True, False, False] # only red
GREEN = [False, True, False] # only green
#BLUE = [False, False, True] # only blue
while True:
pass
Metadata
Metadata
Assignees
Labels
No labels