Skip to content

unknown hard reset #153

@ladyada

Description

@ladyada

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions