circuitpython/ports
Olivier Ortigues b691aa0aae esp8266/esppwm: Always start timer to avoid glitch from full to nonfull.
The PWM at full value was not considered as an "active" channel so if no
other channel was used the timer used to mange PWM was not started.  So
when another duty value was set the PWM timer restarted and there was a
visible glitch when driving LEDs.  Such a glitch can be seen with the
following code (assuming active-low LED on pin 0):

    p = machine.PWM(machine.Pin(0))
    p.duty(1023) # full width, LED is off
    p.duty(1022) # LED flashes brightly then goes dim

This patch fixes the glitch.
2018-03-05 11:39:44 +11:00
..
bare-arm ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
cc3200 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
esp32 ports: Enable ucollections.deque on relevant ports. 2018-02-21 22:55:13 +11:00
esp8266 esp8266/esppwm: Always start timer to avoid glitch from full to nonfull. 2018-03-05 11:39:44 +11:00
minimal minimal/Makefile: Explicitly include lib/utils/printf.c in build. 2018-02-22 13:19:09 +11:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm qemu-arm/test_main: Include setjmp.h because it's used by gc_collect. 2017-12-20 15:42:06 +11:00
stm32 stm32/qspi: Add hardware QSPI driver, with memory-map capability. 2018-03-03 00:17:08 +11:00
teensy teensy: Update GPIO speed consts to align with changes in stm32 port. 2018-02-14 10:52:45 +11:00
unix tests: Move heap-realloc-while-locked test from C to Python. 2018-03-02 10:59:09 +11:00
windows ports: Enable ucollections.deque on relevant ports. 2018-02-21 22:55:13 +11:00
zephyr zephyr/main: Remove unused do_str() function. 2017-12-26 20:16:08 +02:00