micropython/docs/samd
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
..
img docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
tutorial docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
general.rst docs/samd: Add documentation for the samd port. 2022-10-26 23:39:35 +11:00
pinout.rst docs/samd/pinout: Fix the pin numbering for the default assignments. 2022-11-08 23:24:35 +11:00
quickref.rst samd/machine_pwm: Add init() method to PWM and simplify the PWM code. 2023-05-04 13:10:38 +10:00