micropython/docs/library
IhorNehrutsa b491967bbd esp32/machine_pwm: Implement duty_u16() and duty_ns() PWM methods.
The methods duty_u16() and duty_ns() are implemented to match the existing
docs.  The duty will remain the same when the frequency is changed.
Standard ESP32 as well as S2, S3 and C3 are supported.

Thanks to @kdschlosser for the fix for rounding in resolution calculation.

Documentation is updated and examples expanded for esp32, including the
quickref and tutorial.  Additional notes are added to the machine.PWM docs
regarding limitations of hardware PWM.
2021-12-03 23:58:52 +11:00
..
_thread.rst
array.rst
binascii.rst
bluetooth.rst
btree.rst
builtins.rst
cmath.rst
collections.rst
cryptolib.rst
errno.rst
esp.rst
esp32.rst
framebuf.rst
gc.rst
hashlib.rst
heapq.rst
index.rst
io.rst
json.rst
lcd160cr.rst
machine.ADC.rst
machine.ADCWiPy.rst
machine.I2C.rst
machine.I2S.rst
machine.PWM.rst esp32/machine_pwm: Implement duty_u16() and duty_ns() PWM methods. 2021-12-03 23:58:52 +11:00
machine.Pin.rst
machine.RTC.rst
machine.SD.rst
machine.SDCard.rst
machine.SPI.rst
machine.Signal.rst
machine.Timer.rst
machine.TimerWiPy.rst
machine.UART.rst
machine.WDT.rst
machine.rst
math.rst
micropython.rst
neopixel.rst
network.CC3K.rst
network.WIZNET5K.rst
network.WLAN.rst
network.WLANWiPy.rst
network.rst
os.rst
pyb.ADC.rst
pyb.Accel.rst
pyb.CAN.rst
pyb.DAC.rst
pyb.ExtInt.rst
pyb.Flash.rst
pyb.I2C.rst
pyb.LCD.rst
pyb.LED.rst
pyb.Pin.rst
pyb.RTC.rst
pyb.SPI.rst
pyb.Servo.rst
pyb.Switch.rst
pyb.Timer.rst
pyb.UART.rst
pyb.USB_HID.rst
pyb.USB_VCP.rst
pyb.rst
random.rst
re.rst
rp2.Flash.rst
rp2.PIO.rst
rp2.StateMachine.rst
rp2.rst
select.rst
socket.rst
ssl.rst
stm.rst
struct.rst
sys.rst
time.rst
uasyncio.rst
uctypes.rst
wipy.rst
zephyr.DiskAccess.rst
zephyr.FlashArea.rst
zephyr.rst
zephyr.zsensor.rst
zlib.rst