Closed
Description
import pulseio
import time
import board
pwm = pulseio.PWMOut(board.D0)
pwm.duty_cycle = int(0.5 * 65535)
save this code to a gemma/trinket then try to change D0 to D2 and back, you will get a
Traceback (most recent call last):
File "main.py", line 5, in
RuntimeError: All timers in use
on the switch-back. when you hard reset, tho, pwm works great :)
doesnt seem to happen with CPX (so maybe some #ifdef w/ATSAMD21E18?)
Metadata
Metadata
Assignees
Labels
No labels