<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/atmel-samd/tick.c, branch stable</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=stable</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-05-12T23:45:38+00:00</updated>
<entry>
<title>atmel-samd: Rename auto-reset to auto-reload to reduce confusion with physical reset buttons.</title>
<updated>2017-05-12T23:45:38+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-05-12T23:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7672bf773637b008f4e5a334bcbd0a91c5ac95b2'/>
<id>urn:sha1:7672bf773637b008f4e5a334bcbd0a91c5ac95b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add PulseIn support which can be used to measure a series of pulse widths.</title>
<updated>2017-03-24T10:30:15+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-03-13T20:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7cb54864aa7c651fc65350708afcddfab2a15fcc'/>
<id>urn:sha1:7cb54864aa7c651fc65350708afcddfab2a15fcc</id>
<content type='text'>
This is useful for infrared input and DHT sensors.
</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>This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware.</title>
<updated>2016-11-21T22:11:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-11-03T22:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ccbb5e84f980e252f7380d96fcc5c417a8a64523'/>
<id>urn:sha1:ccbb5e84f980e252f7380d96fcc5c417a8a64523</id>
<content type='text'>
Docs are here: http://tannewt-micropython.readthedocs.io/en/microcontroller/

It differs from upstream's machine in the following ways:

* Python API is identical across ports due to code structure. (Lives in shared-bindings)
* Focuses on abstracting common functionality (AnalogIn) and not representing structure (ADC).
* Documentation lives with code making it easy to ensure they match.
* Pin is split into references (board.D13 and microcontroller.pin.PA17) and functionality (DigitalInOut).
* All nativeio classes claim underlying hardware resources when inited on construction, support Context Managers (aka with statements) and have deinit methods which release the claimed hardware.
* All constructors take pin references rather than peripheral ids. Its up to the implementation to find hardware or throw and exception.
</content>
</entry>
<entry>
<title>atmel-samd: Rework tick timer to use TC5 and support neopixel status LED.</title>
<updated>2016-10-29T03:16:39+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@chickadee.tech</email>
</author>
<published>2016-10-29T03:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5b3a143ffe126b8cd999a6298ab3de9ec5532242'/>
<id>urn:sha1:5b3a143ffe126b8cd999a6298ab3de9ec5532242</id>
<content type='text'>
The tick timer needed to be reworked because the ASF delay functions also
use the SysTick timer. Now, it uses TC5 and calls out to the autoreset
logic every tick. Fixes #43.

Added neopixel status colors and corrected the latch time from ms to us.
Fixes #42.
</content>
</entry>
</feed>
