<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/esp8266/esppwm.c, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2019-10-13T15:07:07+00:00</updated>
<entry>
<title>remove ports/esp8266</title>
<updated>2019-10-13T15:07:07+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2019-10-13T15:07:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7692e06230ae6881588b9887c06a6725505d937c'/>
<id>urn:sha1:7692e06230ae6881588b9887c06a6725505d937c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/esppwm: Always start timer to avoid glitch from full to nonfull.</title>
<updated>2018-03-05T00:39:44+00:00</updated>
<author>
<name>Olivier Ortigues</name>
<email>o.ortigues@gmail.com</email>
</author>
<published>2018-02-23T14:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b691aa0aaeb9f55f96d9ed39f214f0a9e555c94d'/>
<id>urn:sha1:b691aa0aaeb9f55f96d9ed39f214f0a9e555c94d</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>esp8266/esppwm: Clip negative duty numbers to 0.</title>
<updated>2018-02-15T00:12:41+00:00</updated>
<author>
<name>Olivier Ortigues</name>
<email>o.ortigues@gmail.com</email>
</author>
<published>2018-02-12T22:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5c83d05b493af58bb14cba9dbfc2bf2d85de2962'/>
<id>urn:sha1:5c83d05b493af58bb14cba9dbfc2bf2d85de2962</id>
<content type='text'>
Prior to this patch a negative duty would lead to full PWM.
</content>
</entry>
<entry>
<title>ports: Make new ports/ sub-directory and move all ports there.</title>
<updated>2017-09-06T03:40:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-09-06T03:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=01dd7804b87d60b2deab16712eccb3b97351a9b7'/>
<id>urn:sha1:01dd7804b87d60b2deab16712eccb3b97351a9b7</id>
<content type='text'>
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
</content>
</entry>
</feed>
