Brennen Bearnes
511796c89a
first pass at checking for pi zero based on revision
...
I'm working off of:
https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/
Probably some unanswered questions here.
2018-11-08 15:57:23 -07:00
Limor "Ladyada" Fried
0528fe164e
Merge pull request #88 from abhinuvpitale/patch-1
...
update _mosi typo as per #83
2018-10-02 08:50:18 -07:00
Abhinuv Nitin Pitale
67de20d275
update _mosi typo as per #83
2018-10-02 00:58:53 -07:00
Tony DiCola
c543d1df9c
Check for older BCM2708 combined mode path before attempting to set.
2018-02-26 17:58:56 -08:00
Tony DiCola
f17faeeac8
Merge pull request #71 from lsellens/master
...
duplicate function
2018-02-26 17:43:57 -08:00
Tony DiCola
35a6a9ca58
Fix previous commit to correctly set SpiDev device cshigh property.
2018-02-26 17:40:44 -08:00
Tony DiCola
145b1d3eaa
Merge pull request #52 from mrnuke/cs-high-fix
...
SPI: Make sure CS line is active-low
2018-02-26 17:37:43 -08:00
Tony DiCola
bde795a635
Merge pull request #37 from Pelado-Mat/master
...
Add a GPIO class to support PCA9555 chips
2018-02-26 17:33:09 -08:00
Tony DiCola
2cea57917d
Explicitly set internal MCP23017 GPIO state on input_pins read, fix #70 .
2018-02-26 17:27:17 -08:00
Tony DiCola
f300bddc6c
Default MCP230xx direction to input, fix #44 .
2018-02-26 17:18:18 -08:00
Tony DiCola
8042997714
Swap to Python 2 and 3 compatible items() call vs. iteritems(), fix #43 .
2018-02-26 17:15:14 -08:00
Tony DiCola
22a1ff4f54
Deprecate I2C reverseByteOrder function.
...
Throwing an error now based on deprecation from: https://github.com/adafruit/Adafruit_Python_GPIO/issues/48
2017-08-23 00:43:28 -07:00
lsellens
88273cd27a
duplicate function
2017-07-11 07:23:24 -05:00
Tony DiCola
060f6d6782
Minor bump for Pi 3 on 4.9.x kernel detection.
2017-03-06 22:44:49 -08:00
Tony DiCola
37e55de593
Add Pi 3 4.9 kernel detection
2017-03-06 22:41:59 -08:00
Tony DiCola
f9a870f6bf
Don't throw errors when enumerating multiple devices.
...
Workaround for issue seen with: https://forums.adafruit.com/viewtopic.php?f=19&t=112200
2017-02-28 00:55:44 -08:00
Tony DiCola
bd058f7d2e
Minor version bump for python 3 FT232H fix.
2017-02-06 23:43:48 -08:00
Tony DiCola
b0d68e0f9e
Python 3 fix for FT232H import.
2017-02-06 23:43:17 -08:00
Tony DiCola
5abc5d276e
Fix python 3 pip install issue with ez_setup relative import.
2016-10-20 03:06:46 +00:00
Alexandru Gagniuc
d70b111058
SPI: Make sure CS line is active-low
...
If another user configures the SPI bus as CS active-high, the setting
will stick. It is thus possible to end up in a situation where CS is
forced high during SPI transactions. The solution is to explicitly
disable 'cshigh' before using the SpiDev object.
2016-10-15 14:06:20 -07:00
Tony DiCola
38cd1bb542
Add GitHub pull request template
2016-05-27 13:23:50 -07:00
Tony DiCola
3e5e29f83e
Add GitHub issue template
2016-05-27 13:21:23 -07:00
Tony DiCola
82354a8ae0
Add GitHub issue template
2016-05-27 12:49:28 -07:00
Tony DiCola
fdf0fca418
Switch to use pure python I2C interface with python 2 & 3 compatibility vs. older python-smbus library.
2016-04-20 19:27:50 +00:00
Matias Vidal
21d0b04300
Add a GPIO class to support PCA9XXX chips
2016-02-16 11:48:59 -03:00
Tony DiCola
cdf7a7b8a2
Merge branch 'sylvandb-master'
2015-05-07 23:34:29 +00:00
Tony DiCola
fde18b88da
Fix merge conflict.
2015-05-07 23:34:13 +00:00
Tony DiCola
76735db210
Merge branch 'matthw-master'
2015-05-07 23:09:02 +00:00
Tony DiCola
bcb5cef265
Bump version to 0.9.2
2015-05-07 23:08:31 +00:00
Tony DiCola
e069922304
Merge branch 'master' of https://github.com/matthw/Adafruit_Python_GPIO into matthw-master
2015-05-07 23:04:05 +00:00
Tony DiCola
9a9de9416e
Merge branch 'steelee-master'
2015-05-07 21:28:40 +00:00
Tony DiCola
564b131266
Bump version to 0.9.1 to include contributed Minnowboard Max support.
2015-05-07 21:28:22 +00:00
Evan Steele
474c0642f7
Added needed import
2015-04-30 18:07:13 -07:00
Evan Steele
0307bd789c
bug fixes
2015-04-30 18:01:22 -07:00
Evan Steele
361fd19e86
fixed typo
2015-04-30 15:38:35 -07:00
Evan Steele
7ad97ed59a
added support for MinnowBoard
2015-04-30 15:35:46 -07:00
Sylvan Butler
8d57283740
reflow license text
2015-04-25 16:08:46 -06:00
Sylvan Butler
6c5359b787
use BaseGPIO _validate_pin()
2015-04-25 11:51:46 -06:00
Sylvan Butler
e07a2f6095
fix input_pins(), reduce required client knowledge of I/Os, use BaseGPIO helper methods
2015-04-25 11:50:42 -06:00
Sylvan Butler
4229645f8e
provide rudimentary input_pins(), pull in some more methods useful in derived classes
2015-04-25 11:21:57 -06:00
Sylvan Butler
c56a9327a0
basic PCF8574 functionality
2015-04-25 01:36:08 -06:00
Sylvan Butler
af4a24b390
remove redundant output() code, add validation to output_pins()
2015-04-25 00:38:26 -06:00
Tony DiCola
e9260d10f2
Update README to point to github wiki with test info.
2015-03-25 13:34:59 -07:00
Tony DiCola
4be01b9bb0
Merge branch 'asomov-master'
2015-03-25 13:16:17 -07:00
Tony DiCola
8fa97f5819
Update platform detection tests to use newer Pi platform detection logic and verify they pass.
2015-03-25 13:16:01 -07:00
Andrey Somov
4f9dfde086
Issue 20: rename test folder
2015-03-24 19:00:06 +00:00
Tony DiCola
19a6ef1aea
Fix software SPI driver initializer to define MOSI, MISO, SS pins as optional.
2015-03-19 22:17:58 +00:00
Sylvan Butler
6f795d333c
create input_pins() for FT232H and GPIO (none tested)
2015-02-22 20:53:14 -07:00
Sylvan Butler
83aecd470e
create input_pins() to read multiple pins with one call - MCP230xx
2015-02-22 20:37:54 -07:00
Tony DiCola
eed91593ac
Clarify manual install
2015-02-20 10:05:25 -08:00