35619e5baf
adding code to close #76
2017-08-07 22:06:15 -05:00
1e3935c8ea
finalizing servo, softpwm, and pwm api docs, cleanup of code comments for #73
2017-08-07 22:02:16 -05:00
6e93fad1de
README updates following the merge of PR#70 into master
2017-06-08 20:06:52 -05:00
024e5d5797
Extern integer definitions in the header file
...
Integers are defined in both the .c and the common.h file leading to linking
issues with the library when used externally and potentially causing issues
within the code as well.
2017-06-08 15:23:32 +00:00
6ddd0e0b14
Closing out Issue #68 by adding 3 CHIP Pro pins able to be used as interrupts
2017-05-02 22:46:10 -05:00
d4b1d8a41c
adding i2s pins as gpio capable for the chip pro, code to handle per pwm/softpwm cleanup to close #64
2017-05-01 22:50:17 -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
4da0812acd
Fixing issue where using alt name for the XIO would cause a segfault when speficying the pin as an input. This will close #62
2017-03-06 17:08:05 -06:00
dcd8ea6f40
Re-enabled polarity set on the CHIP PWM, fixed issues that caused me to disable that feature to begin with. This could have been a 1 letter change, but I re-eabled tests in the unit test to validate. This will close #61
2017-03-05 00:49:16 -06:00
29377cf24d
updates to the pytest tests to fix the issues with pwm, added 2 new tests that bring in 5 total unit tests. python3 unit tests are passing, this will close #42 and close #47
2017-02-26 21:04:40 -06:00
f7bec3f891
forgot to update the chip pro detection in Utilties, removed overlay stuff from makefile, cleaned up readme
2017-02-26 14:07:11 -06:00
bab94f7600
forgot the actual version bump for #32 . gonna close #32 since it's initially done
2017-02-25 19:17:25 -06:00
c3ead5d395
fixing issues with the code to determine if the computer is a chip/chip pro for #32
2017-02-26 00:50:54 +00:00
121ad398e4
new method for determining if the computer is a chip/chip pro, this fixes the runtimeerror's i was getting. for #32
2017-02-25 17:06:38 -06:00
c21c431b7b
pwm1 works on the chip pro, commit to allow me to reset all the changes that broke stuff on the normal chip
2017-02-25 12:48:36 -06:00
f66740b797
pwm1 and pwm0 working on chip pro. thanks ntc for the awesome led's on the devkit, they're super helpful
2017-02-21 05:26:56 +00:00
ca7d221b33
More work on #32 , Checks for gpio being invalid on specific hardware, pwm invalid checks done. Need to do proper export of PWM1 on CHIP Pro
2017-02-20 05:03:04 +00:00
c5dbede3c4
Formal initial start at CHIP Pro support. Removed the custom DT Overlays, OverlayManager now pulls dtbo from chip-dt-overlays package from NTC. First commit to CHIP_IO from a CPro DevKit
2017-02-13 05:18:33 +00: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
a498fc12bd
Added the ability to read a full byte from a set of channels
...
For example, you can hook up to the 8 XIO pins and 8 CSID pins to read
a word in just two calls: `GPIO.read_byte("XIO") + GPIO.read_byte("CSID") << 8`
For fast-changing inputs (e.g. reading from a counter), this is more
accurate than reading the bits individually.
2017-01-29 12:32:53 -08:00
2e2177da26
quick fix because i broke xio input setup with the pud code, this closes #58
2017-01-29 20:21:02 +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
a839661c3b
randomness for #32 and #48 . cleanup of removing the spi function in common.c/.h since it isn't chip specific
2017-01-28 20:05:53 +00:00
cb4e272a35
adding the code to py_pwm.c to get the error data out of c_pwm.c. general code cleanup. this should close #56 as the softpwm code had the error string support already in it
2017-01-28 19:04:31 +00:00
05b936ca1d
added error string info (a la gpio) to the pwm code for #56
2017-01-28 18:50:09 +00:00
3ff79d43e3
version bump to 0.3.3, cleaning up stuff left over in fixing #40 , start of implementing #56
2017-01-28 05:41:05 +00:00
73ae207e16
Copied over 2 new pwm functions from @streamnsight to close #46 . these 2 functions are untested, which is why i'm not updating the readme at the moment.
2017-01-28 04:16:12 +00:00
bf27e2feea
final updates in the initial addition of debug printing. this should close #55
2017-01-28 02:09:14 +00:00
8221016c10
More updates to the library to add debug printing
2017-01-26 05:55:30 +00:00
8c3dab1ecc
Fix and close #53 . Start of implementation for #55
2017-01-24 05:23:04 +00:00
10e7043269
Fix and close #51 , I wasn't careful in swapping the module name. I thought the name was changed months ago, but eh, fixed now
2017-01-11 03:17:26 +00:00
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
d0ed4665aa
Fixing issue with the enable 1.8v pin code. Updating version to 0.2.7
2017-01-03 00:07:40 +00:00
abbc4968c6
version update to 0.2.6 that brings in the fix for #34
2016-12-31 21:52:21 +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
7cce06b472
fixing error in the overlay builder, forgot to remove the i2c-1 stuff in there. added code to common to allow denotation if a pin supports software pwm
2016-12-31 20:25:12 +00:00
7489fd21b4
Removing i2c-1 custom support in OverlayManager as it's back in 4.4.13, this is to close #31 . Update to version 0.2.5
2016-12-31 05:10:26 +00:00
8aa402fbd5
mods to test_pwm_setup.py to mark some tests that are failing as expected to fail ( #22 ). the issue appears to be the pwm cleanup stuff. added some code to help with future work
2016-12-31 04:37:24 +00:00
e82f62133a
Closing out #17 and #18 , version upped to 0.2.4
2016-12-31 02:19:57 +00:00
7d91bbc47e
fixes for #17 , hardware pwm works now, still can't change polarity, but i think that's a kernel driver/dtb thing.
2016-12-31 01:43:42 +00:00
b12c0ad2fe
Merge branch 'master' into hotfix/hwpwmfix
2016-12-30 17:16:17 +00:00
51c38843d9
Add files via upload
2016-12-26 16:34:47 +11:00
89cbea038e
LRADC support to close out feature #15 . Added Utilities to enable and disable the 1.8v pin on U13. Updated README. Updated version to 2.3
2016-12-01 05:55:26 +00:00
82d6fef173
checking in debug stuff for the hw pwm issue #17
2016-09-24 14:22:05 -05:00
d66032ed93
Merge pull request #1 from fabien-gigante/patch-1
...
Patch 1
2016-08-26 16:29:18 +02:00
9a83cf765a
Update py_gpio.c
...
allow passing data arguments to c callbacks
2016-08-26 16:06:43 +02:00
d95847eb5a
Update event_gpio.c
...
allow passing data arguments to c callbacks
2016-08-26 16:05:25 +02:00
12bc9dec67
Update event_gpio.h
...
allow passing data arguments to c callbacks
2016-08-26 16:03:09 +02:00