micropython/ports
robert-hh 250757716a samd/machine_pwm: Add init() method to PWM and simplify the PWM code.
The PWM.init() method has been added.  Calling init() without arguments
restarts a PWM channel stopped with deinit().  Otherwise single parameters
except for "device=n" can be changed again.  The device can only be
specified once, either in the constructor or the first init() call.

Also simplify get_pwm_config() and get_adc_config(), and shrink the PWM
object.
2023-05-04 13:10:38 +10:00
..
bare-arm
cc3200
embed
esp32
esp8266
mimxrt
minimal
nrf
pic16bit
powerpc
qemu-arm
renesas-ra
rp2 all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
samd samd/machine_pwm: Add init() method to PWM and simplify the PWM code. 2023-05-04 13:10:38 +10:00
stm32
teensy
unix
webassembly
windows
zephyr