<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/nativeio/PWMOut.c, branch 3.0.0-alpha.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-alpha.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-alpha.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-04-10T20:32:19+00:00</updated>
<entry>
<title>Split up nativeio.</title>
<updated>2017-04-10T20:32:19+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-04-10T20:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f28f8ba56809fd56e777eabceae21127f95b89ed'/>
<id>urn:sha1:f28f8ba56809fd56e777eabceae21127f95b89ed</id>
<content type='text'>
This was done to allow greatly granularity when deciding what functionality
is built into each board's build. For example, this way pulseio can be
omitted to allow for something else such as touchio.
</content>
</entry>
<entry>
<title>Fix duty_cycle constructor argument to PWMOut.</title>
<updated>2017-03-10T17:55:17+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-03-10T17:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bccfbe4e005ce95693644bf6902885ba902a30f0'/>
<id>urn:sha1:bccfbe4e005ce95693644bf6902885ba902a30f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shared-bindings: Do a pass on the docs and make sure keyword only arguments make sense and are documented correctly. Fixes #109</title>
<updated>2017-03-07T11:58:57+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-03-07T11:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4aaa0ea00864dea835161b96a75c15e8c5242744'/>
<id>urn:sha1:4aaa0ea00864dea835161b96a75c15e8c5242744</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make more type structures const to save RAM.</title>
<updated>2017-02-24T14:23:26+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-24T14:23:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=baf3ff377e752bc6f80e9d715f0ef08aacfdb2f7'/>
<id>urn:sha1:baf3ff377e752bc6f80e9d715f0ef08aacfdb2f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.</title>
<updated>2017-02-24T14:13:07+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-24T14:13:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12fa5b3a66d6f0034113a56c7d647c7bac5be74c'/>
<id>urn:sha1:12fa5b3a66d6f0034113a56c7d647c7bac5be74c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch enum-like attributes to all caps and add print support for them. Make room for this functionality by adding a shared __enter__ function object. #76</title>
<updated>2017-02-19T15:11:33+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-19T15:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9659e61f89fb9ef84011c42e89849f7fd9bc9c1'/>
<id>urn:sha1:e9659e61f89fb9ef84011c42e89849f7fd9bc9c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more PWMOut examples and rename the duty constructor argument</title>
<updated>2017-02-01T23:07:31+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-02-01T23:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9f6da7b2fef5d99c8e699c8dfe304a61b76f1c43'/>
<id>urn:sha1:9f6da7b2fef5d99c8e699c8dfe304a61b76f1c43</id>
<content type='text'>
to duty_cycle so that its consistent with the attribute.

Fixes #84
</content>
</entry>
<entry>
<title>Add frequency changing support to PWMOut.</title>
<updated>2017-01-30T23:02:01+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-01-27T02:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3f9ee839afb5a369779a30a96214c929e76911e'/>
<id>urn:sha1:e3f9ee839afb5a369779a30a96214c929e76911e</id>
<content type='text'>
You can either set it once up front, or set variable_frequency on custruction to
indicate that the frequency must be able to change. This informs whether a timer
can be shared amongst pins.

This also adds persistent clock calibration on atmel-samd. Once the device has
synced its clock frequency over USB it will remember that config value until USB
is used again. This helps ensure the clock frequency is similar on and off USB.

Lastly, this also corrects time.sleep() when on USB by correcting the tick counter.
</content>
</entry>
<entry>
<title>atmel-samd &amp; esp8266: Make sure pins are not already in use.</title>
<updated>2016-12-07T23:21:14+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-12-06T18:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0ae344841ff048424b886e1f386b16c0c9ba4ee2'/>
<id>urn:sha1:0ae344841ff048424b886e1f386b16c0c9ba4ee2</id>
<content type='text'>
This prevents corrupting previous functional objects by stealing their pins
out from under them. It prevents this by ensuring that pins are in default
state before claiming them. It also verifies pins are released correctly and
reset on soft reset.

Fixes #4, instantiating a second class will fail.
Fixes #29, pins are now reset too.
</content>
</entry>
<entry>
<title>Fix two bugs found by clang:</title>
<updated>2016-12-01T18:33:50+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2016-12-01T18:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8ef0dd095a5178babb75e48779a359abbf759ffa'/>
<id>urn:sha1:8ef0dd095a5178babb75e48779a359abbf759ffa</id>
<content type='text'>
* PWMOut enter and exit weren't hooked up.
* end couldn't be negative in I2C.
</content>
</entry>
</feed>
