Commit graph

42 commits

Author SHA1 Message Date
Tony DiCola
38180a82b2 Bump up version to 0.7. No breaking changes to existing interfaces, merely a version bump to differentiate library versions with event detection support from those without. 2014-12-20 16:42:55 -08:00
Tony DiCola
22baf0dd78 Merge event detect logic and pull up/down resistor change. Update GPIO tests and simplify constant mapping with dicts. 2014-12-20 16:40:42 -08:00
Tony DiCola
117fdaa61b Merge branch 'asomov-no-tabs' 2014-12-20 15:47:30 -08:00
Tony DiCola
fc85902aa9 Update default busnum parameter value to allow importing Adafruit_GPIO.I2C on unsupported platforms for testing. 2014-12-20 15:47:11 -08:00
Andrey Somov
f7f281cd8e Ignore PyCharm files 2014-12-15 16:59:12 +01:00
Andrey Somov
973745604b Fix issue 11: use spaces for indentation 2014-12-15 16:58:20 +01:00
Victor Torre
dd3dc0e249 Add pull_up_down on setup 2014-12-09 05:16:39 +01:00
Victor Torre
afd9ed264b Added events detection
New functions and constants
2014-12-08 14:25:33 +01:00
Tony DiCola
cfdd75d35f Fix #9 by adding missing kwargs parameter to MCP230xx base. 2014-11-23 14:06:30 -08:00
Tony DiCola
e8b02e4111 Fix bug with incorrectly reading ACK from FT232H writes, and add I2C ping for device enumeration. 2014-11-21 14:01:21 -08:00
Tony DiCola
f04bedef05 Refactor I2C and SPI to support FT232H as I2C and SPI master. No changes to existing I2C and SPI interface. 2014-11-20 20:54:45 -08:00
Tony DiCola
be1d242f4b Fix bug with FT232H read polling, improve reliability, and refactor FT232H I2C to batch calls into a single transaction/command. 2014-11-17 13:49:12 -08:00
Tony DiCola
5482c7038d Fix bug with failing to close FT232H on exit. 2014-11-12 12:36:49 -08:00
Tony DiCola
91615cabaa Merge branch 'FT232H' 2014-11-12 04:17:45 -08:00
Tony DiCola
63f3234e65 Add FT232H support using libftdi (note I2C is unstable and a work in progress). 2014-11-12 04:16:06 -08:00
Tony DiCola
18e1f2a5f4 Update Pi revision detection to include rev 0000. 2014-09-25 01:02:14 -07:00
Tony DiCola
44097080e0 Fix bug with bitbang SPI and no MISO pin specified. Bump version up to 0.5.5. 2014-09-17 07:20:41 +00:00
Tony DiCola
f60d8c072c Update platform detection for Arch linux. 2014-08-07 10:20:00 -07:00
Tony DiCola
13790476f8 Merge #6 and bump version up to 0.5.0 2014-08-02 11:41:02 -07:00
Francois GUILLIER
024b528b0e Added R/W byte for chips w/o registers (eg PCF8574) 2014-08-02 13:00:12 +02:00
Tony DiCola
6e8307de68 Merge pull request #5 from andysmithfal/master
Fixed beaglebone black identification
2014-07-24 10:58:55 -07:00
Andy Smith
c1635e6304 Fixed beaglebone black identification 2014-07-24 13:27:26 +00:00
Tony DiCola
d9cbac72b9 Fix bug with pidora detection. 2014-07-20 13:56:59 -07:00
Tony DiCola
7d0b05dacf Update platform detection to support pidora distro. 2014-07-20 13:54:43 -07:00
Tony DiCola
b2f67b89a7 Force array access to be an integer to fix bug with odd GPIO number access. 2014-07-19 02:52:33 +00:00
Tony DiCola
6c35a53e7b Fix bug with PWM choosing pin number for Raspberry Pi. 2014-07-19 02:26:25 +00:00
Tony DiCola
dff65bea86 Merge pull request #4 from adafruit/pwm_mcp
Add PWM and MCP230xx support.
2014-07-18 10:21:02 -07:00
Tony DiCola
08fb137617 Add BBB Ubuntu to platform detection. 2014-07-14 20:30:09 -07:00
Tony DiCola
cad10e2789 Merge pull request #3 from adafruit/spi_default_mode0
Explicitly set SPI mode to 0 by default.
2014-06-25 10:12:54 -07:00
Tony DiCola
6532a0e0ee Explicitly set SPI mode to 0 by default. 2014-06-25 09:55:39 -07:00
Tony DiCola
ca810843ca Merge pull request #2 from adafruit/i2c
Add I2C support and refactor platform detection to common module.
2014-06-17 14:12:40 -07:00
Tony DiCola
fb43ce45e2 Fix issues with 16 bit read endianness by exposing explicit endian control. 2014-06-17 20:46:26 +00:00
Tony DiCola
f076c2901a Fix bug with handling non-matching lines in pi_revision(). 2014-06-16 17:06:20 -07:00
Tony DiCola
dcdf6915d9 Fix missed usage with platform_detect rename. 2014-06-16 17:00:07 -07:00
Tony DiCola
9d66b78992 Remove unnecessary logger. 2014-06-16 16:05:10 -07:00
Tony DiCola
e3b38fad89 Refactor platform_detect to Platform, add Pi revision detect function, and default I2C bus function. 2014-06-16 15:52:44 -07:00
Tony DiCola
48a6f685e5 Refactor platform detection to common module, and add I2C support. 2014-06-16 13:37:42 -07:00
Tony DiCola
aa4382f8b7 Update README.md 2014-05-30 05:56:44 -07:00
Tony DiCola
55c0959b3d Update README.md 2014-05-30 05:55:13 -07:00
Tony DiCola
82bb79962d Initial commit. 2014-05-30 05:48:21 -07:00
Tony DiCola
b63b4b22df Initial commit 2014-05-30 05:44:43 -07:00
Tony DiCola
d4cccdd8cc Add PWM and MCP230xx support. 2014-04-23 20:29:14 +00:00