1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
84df4376f8 added logging to inform user of 1s retry if set_direction fails on the first try, updating to v0.7.1 2017-11-12 08:06:35 -06:00
00cd5c09ad add 1s delay in set_direction to allow udev to set permissions 2017-11-11 19:08:02 +00:00
e3a077bf82 implementation and close #75 - enabling a timeout for the wait_for_edge function 2017-09-03 21:43:59 -05:00
6af974c113 fixing implementation of #76 since i didn't actually test it 2017-08-09 23:18:16 -05:00
35619e5baf adding code to close #76 2017-08-07 22:06:15 -05:00
2b48571ee3 Updating setup to allow for repeated calls on a pin. Not totally sold on this, but it work and is what RPi.GPIO does. This will close #63 2017-03-20 23:06:09 -05:00
6bd2e61450 software servo! this implements and will close #41. also fixed issue with softpwm cleanup(), update to version 0.4.0 2017-02-07 04:17:09 +00:00
cd85e2b5eb cleanup of brettcvz's read_byte function, added read_word since he really needs 12 bits of data. finally fixed the gpio cleanup() without argument issue once and for all, sorry for lying howientc 2017-01-29 22:58:41 +00:00
2b23e2d165 pull up/down feature addition to close #48. fixed gpio cleanup() function again, 3rd time is a charm. version bump to 0.3.4 2017-01-29 03:50:37 +00:00
bf27e2feea final updates in the initial addition of debug printing. this should close #55 2017-01-28 02:09:14 +00:00
9a2e81f093 fix to close #34, gpio value file is now opened as read/write instead of read only 2016-12-31 21:49:52 +00:00
d95847eb5a Update event_gpio.c
allow passing data arguments to c callbacks
2016-08-26 16:05:25 +02:00
ea4a21235d Some refactoring of the edge detection code to clean stuff up, added more tests 2016-07-11 21:14:40 -05:00
bff65d346d Initial work at refactoring the edge detection code I added to get it working 2016-07-10 22:00:01 -05:00
a4dd1558f0 Realized that the AP-EINT1/3 test code wasn't actually testing callbacks, they do work properly in my testing. Reverting gptest.py to what it was. Revision Update. Issue #9 is resolved. 2016-07-10 19:23:45 -05:00
3d1ecb6b5e Edge detection callback is now working for the XIO's. Blocking wait_for_edge works for both the AP-EINT1/3 and the XIO's. Need to figure out why AP-EINT1/3 don't work for the callback. This is to help fix issue #9. 2016-07-10 16:37:22 -05:00
db4493322d Inital attempt at fixing #9. Things are still broken. wait_for_edge no longer works on AP-EINT1/3, XIO will trigger only one on falling edge. 2016-07-10 14:56:40 -05:00
7812063991 Fixed softpwm bug ("disable" code didn't synchronize thread exit) 2016-07-09 18:42:38 -05:00
694aa37f23 Testing and error handling 2016-07-04 14:35:45 -05:00
0e7d03c472 Fixed a bunch of error handling 2016-07-04 13:56:11 -05:00
71b6829804 Reworked a lot of error handling. 2016-07-02 18:57:03 -05:00
093922567a Added a bunch of sanity checking 2016-06-26 14:28:06 -05:00
1f4714a351 Got rid of last of GPIO port constants from code. 2016-06-25 20:02:45 -05:00
01ae605491 Initial commit, working GPIO for all available CHIP GPIO pins, have not tested edge detection and callbacks 2016-02-24 21:48:40 -06:00