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

17 Commits

Author SHA1 Message Date
486cf73860 Fix and close #50, I really don't understand pointers because Python abstracts that all out for me and C does not. 2017-01-10 01:14:16 +00:00
8ecec67bad Fixing and Closing #43, #44, and #45. setmode() function added, per pin cleanup added for GPIO and SOFTPWM, and README updates 2017-01-05 05:54:14 +00:00
51c38843d9 Add files via upload 2016-12-26 16:34:47 +11:00
9a83cf765a Update py_gpio.c
allow passing data arguments to c callbacks
2016-08-26 16:06:43 +02: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
45ba0e5332 More error checking work 2016-07-04 14:45:41 -05:00
0e7d03c472 Fixed a bunch of error handling 2016-07-04 13:56:11 -05:00
9ee83c0b38 Adding Python interface to get the base XIO numbers, fixes for gptest.py on the 4.4 kernel CHIPs 2016-07-03 11:49:17 -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
34167a9574 Some (not all) of the changes for the new XIO base addr 2016-06-21 17:40:00 -05:00
777fda06a3 Fixing issue #2, edge detection for the XIO pins now works, simple logic issue in the if statement for throwing errors if gpio number is bad 2016-04-18 19:31:08 -05:00
0e1cf46c4e Addressing Issue #1, adding the ability to set the AP-EINT1 and AP-EINT3 pins as useable for edge detection and callbacks 2016-04-08 21:47:42 -05:00
c2ab013a5d Adding protection for to the GPIO to only allow edge detection and call back on the XIO pins, clean up of the PWM, updated test code 2016-04-02 19:48:57 -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