<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/ports/raspberrypi/common-hal/rp2pio, 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-16T00:51:36+00:00</updated>
<entry>
<title>Merge pull request #4405 from DavePutz/issue_4237</title>
<updated>2021-03-16T00:51:36+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2021-03-16T00:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f7a988b9b307141611b07f6dc9da5b26e982c154'/>
<id>urn:sha1:f7a988b9b307141611b07f6dc9da5b26e982c154</id>
<content type='text'>
Issue 4237 - Changed initial setting in program_struct</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>Fixed initial settings for program_struct to allow more than 1 program per pio</title>
<updated>2021-03-14T20:05:56+00:00</updated>
<author>
<name>root</name>
<email>siehputz@gmail.com</email>
</author>
<published>2021-03-14T20:05:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9a835019823715930c1e2087dd9394ed38fecd0a'/>
<id>urn:sha1:9a835019823715930c1e2087dd9394ed38fecd0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'main' into issue_4111</title>
<updated>2021-03-09T05:28:21+00:00</updated>
<author>
<name>DavePutz</name>
<email>dwputz@gmail.com</email>
</author>
<published>2021-03-09T05:28:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f4510d7aaf0a9182fd815f582d272de2f7611cc'/>
<id>urn:sha1:6f4510d7aaf0a9182fd815f582d272de2f7611cc</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>Merge branch 'main' into issue_4111</title>
<updated>2021-03-04T20:38:00+00:00</updated>
<author>
<name>DavePutz</name>
<email>dwputz@gmail.com</email>
</author>
<published>2021-03-04T20:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4dda3a5ba4176f8175b96f3c6daf7626f7a65d6'/>
<id>urn:sha1:a4dda3a5ba4176f8175b96f3c6daf7626f7a65d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>StateMachine.h: Add header for declaration of mcu_pin_obj_t typedef</title>
<updated>2021-03-04T18:28:46+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-04T18:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bc14ed31f659ade034ac78a8ce3e19831e9e7000'/>
<id>urn:sha1:bc14ed31f659ade034ac78a8ce3e19831e9e7000</id>
<content type='text'>
</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>
</feed>
