<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/esp8266/modpybpin.c, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-26T14:42:27+00:00</updated>
<entry>
<title>esp8266: Add mp_hal_pin_input() and mp_hal_pin_output() functions.</title>
<updated>2016-05-26T14:42:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-26T14:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=68e222afdce21dca0f0bfaa19ef1c3e8b2c51a7e'/>
<id>urn:sha1:68e222afdce21dca0f0bfaa19ef1c3e8b2c51a7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/modpybpin: Make pin.irq() methods take keyword args.</title>
<updated>2016-05-03T12:47:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-03T12:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8e130fcf2b4b27b0e97f87bae3bff2b9051f1955'/>
<id>urn:sha1:8e130fcf2b4b27b0e97f87bae3bff2b9051f1955</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/modpybpin: Use None instead of PULL_NONE for no-pull config.</title>
<updated>2016-05-03T12:13:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-03T12:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8a3e9036eb4cd6a4fb216d980f7c8c44a3e1cbce'/>
<id>urn:sha1:8a3e9036eb4cd6a4fb216d980f7c8c44a3e1cbce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/modpybpin: Use enum+array instead of struct for parsing args.</title>
<updated>2016-05-03T11:44:28+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-03T11:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9df6b3a2c22c0426e434948c9b2799a18c8b3c23'/>
<id>urn:sha1:9df6b3a2c22c0426e434948c9b2799a18c8b3c23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Move call_function_*_protected() functions to py/ for reuse.</title>
<updated>2016-04-25T16:31:17+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-25T16:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d103b65482d8dc1d688fcfd59b3400ebfbe0f0f'/>
<id>urn:sha1:6d103b65482d8dc1d688fcfd59b3400ebfbe0f0f</id>
<content type='text'>
They almost certainly needed by any C code which calls Python callbacks.
</content>
</entry>
<entry>
<title>esp8266: Convert mp_hal_pin_obj_t from pin ptr to simple integer.</title>
<updated>2016-04-22T09:04:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-22T09:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a2d5d84ecca175fbfbf42e892d6376efd08758eb'/>
<id>urn:sha1:a2d5d84ecca175fbfbf42e892d6376efd08758eb</id>
<content type='text'>
Most pin I/O can be done just knowing the pin number as a simple
integer, and it's more efficient this way (code size, speed) because it
doesn't require a memory lookup to get the pin id from the pin object.

If the full pin object is needed then it can be easily looked up in the
pin table.
</content>
</entry>
<entry>
<title>esp8266: Add hard IRQ callbacks for pin change on GPIO0-15.</title>
<updated>2016-04-14T11:44:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-14T10:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=674bf1bc81ab358d167965f06e5c51f86027b050'/>
<id>urn:sha1:674bf1bc81ab358d167965f06e5c51f86027b050</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266: Add dummy entries for non-existing pins to simplify pin logic.</title>
<updated>2016-04-14T11:43:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-13T21:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d9d408135de3845fbc8c21fea35dac90a537c5b0'/>
<id>urn:sha1:d9d408135de3845fbc8c21fea35dac90a537c5b0</id>
<content type='text'>
Now pins can be easily looked up in the table using the pin number as the
index and vice versa.
</content>
</entry>
<entry>
<title>esp8266: Remove pin_id field from C pin object.</title>
<updated>2016-04-14T11:43:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-13T21:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a9a732af1fcd45c27aff731901e347d0ed82a888'/>
<id>urn:sha1:a9a732af1fcd45c27aff731901e347d0ed82a888</id>
<content type='text'>
This field is the same as phys_port and not needed.
</content>
</entry>
<entry>
<title>esp8266: Expose pin object as a public structure for use as C pin API.</title>
<updated>2016-03-24T09:07:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-11T11:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7059c8c23c85f91475a40cf9af2563df144b0f64'/>
<id>urn:sha1:7059c8c23c85f91475a40cf9af2563df144b0f64</id>
<content type='text'>
This is an initial attempt at making a simple C pin API for writing
things like I2C drivers in C.
</content>
</entry>
</feed>
