<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/raspberrypi/bindings, 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>2021-03-16T01:00:13+00:00</updated>
<entry>
<title>Merge branch 'main' into rp_dp_parallel</title>
<updated>2021-03-16T01:00:13+00:00</updated>
<author>
<name>Mark</name>
<email>56205165+gamblor21@users.noreply.github.com</email>
</author>
<published>2021-03-16T01:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e326d7ca800ce7101ddce001320c5349ee5ddeb6'/>
<id>urn:sha1:e326d7ca800ce7101ddce001320c5349ee5ddeb6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set the statemachine to never reset so REPL works</title>
<updated>2021-03-12T01:32:44+00:00</updated>
<author>
<name>gamblor21</name>
<email>mark.komus@gmail.com</email>
</author>
<published>2021-03-05T02:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1658fe04f9b4fe0ac07d105e3123c263d36a2a42'/>
<id>urn:sha1:1658fe04f9b4fe0ac07d105e3123c263d36a2a42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WIPrp2040: Implement IncrementalEncoder</title>
<updated>2021-03-05T16:31:29+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-05T15:00:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ae1e7de61485bc9167996a63c32bf7b14c4c80c'/>
<id>urn:sha1:2ae1e7de61485bc9167996a63c32bf7b14c4c80c</id>
<content type='text'>
Any two consecutive pins can be used for an IncrementalEncoder

Testing performed: Put a synthesized (few hundred counts per second) quadrature signal into GP2/3 and read the encoder out.  Performed filesystem operations at the same time to stress test it.

The reasons for not using common_hal_rp2pio_statemachine_readinto are commented on.
</content>
</entry>
<entry>
<title>rp2pio: Add pins_are_sequential</title>
<updated>2021-03-04T17:26:33+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-04T17:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bd01d31542f1d83797ecb2ac4a4a16ba0235a988'/>
<id>urn:sha1:bd01d31542f1d83797ecb2ac4a4a16ba0235a988</id>
<content type='text'>
This can be used where the standard API calls for a list of pins, to check that they satisfy the requirements of the rp2pio state machine, e.g.,
```python
    def __init__(self, pin_a, pin_b):
        if not rp2pio.pins_are_sequential([pin_a, pin_b]):
            raise ValueError("Pins must be sequential")
```
</content>
</entry>
<entry>
<title>StateMachine: Add pull up/down for inputs</title>
<updated>2021-03-04T17:26:29+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-04T16:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ff62b0d2c020cffb910ad15e81897b41e92380fa'/>
<id>urn:sha1:ff62b0d2c020cffb910ad15e81897b41e92380fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>StateMachine: Add in_available property</title>
<updated>2021-03-04T17:14:09+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-04T15:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=68ac14b3097291ba3c2f0c7edc61f93beebc783d'/>
<id>urn:sha1:68ac14b3097291ba3c2f0c7edc61f93beebc783d</id>
<content type='text'>
I named the property `in_available` because it is similar to pyserial.
However, it indicates the number of words in the fifo, not the number
of bytes.
</content>
</entry>
<entry>
<title>Apply suggestions from code review</title>
<updated>2021-03-02T17:01:50+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2021-03-02T17:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f41fb6fafc1fad51154c476ddfe5aa6772d08d8d'/>
<id>urn:sha1:f41fb6fafc1fad51154c476ddfe5aa6772d08d8d</id>
<content type='text'>

copyediting</content>
</entry>
<entry>
<title>Update StateMachine.c</title>
<updated>2021-02-26T23:07:30+00:00</updated>
<author>
<name>Jonny Bergdahl</name>
<email>bergdahl@users.noreply.github.com</email>
</author>
<published>2021-02-26T23:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f7eac46c7814a8c8cdc1f8841d3087fcf0a0632c'/>
<id>urn:sha1:f7eac46c7814a8c8cdc1f8841d3087fcf0a0632c</id>
<content type='text'>
Changed woring to use max instead</content>
</entry>
<entry>
<title>Implement audiobusio and enhance PIO for it</title>
<updated>2021-02-23T23:50:00+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2021-02-23T23:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=360475e26618cba98522d5dd86d0051d3a296fb3'/>
<id>urn:sha1:360475e26618cba98522d5dd86d0051d3a296fb3</id>
<content type='text'>
This adds I2SOut and PDMIn support via PIO.

StateMachines can now:
 * read and read while writing
 * transfer in 1, 2 or 4 byte increments
 * init pins based on expected defaults automatically
 * be stopped and restarted
 * rxfifo can be cleared and rxstalls detected (good for tracking when
   the reading code isn't keeping up)

Fixes #4162
</content>
</entry>
</feed>
