support CHIP_IO (Next Thing C.H.I.P.)
See original GitHub issueType of Raspberry Pi
Next Thing C.H.I.P.
Linux Kernel version
Linux compy386 4.4.13-ntc-mlc #1 SMP Tue Dec 6 21:38:00 UTC 2016 armv7l GNU/Linux
Expected behaviour
Would love to see support for CHIP_IO, the C.H.I.P. version of RPi.GPIO 😃 I bet it would be just a few lines in lib.py
and serial.py
. (I will try this out myself but I am pretty noob.)
Actual behaviour
Traceback (most recent call last):
File "st7735.py", line 14, in <module>
serial = spi(port=0, device=0, bcm_DC=23, bcm_RST=24)
File "/usr/local/lib/python2.7/dist-packages/luma/core/serial.py", line 163, in __init__
self._gpio = gpio or self.__rpi_gpio__()
File "/usr/local/lib/python2.7/dist-packages/luma/core/lib.py", line 23, in __rpi_gpio__
import RPi.GPIO
ImportError: No module named RPi.GPIO
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Next Thing Co Documentation
CHIP supports 802.11b/g/n using the built-in WiFi. Bluetooth. CHIP supports the Bluetooth 4.0 LE standard using the built-in Bluetooth. Physical ...
Read more >C.H.I.P.
Support. The NextThing Co's C.H.I.P. board is supported using sysfs drivers as well as using high performance memory-mapped I/O for gpio pins.
Read more >CHIP - The World's First Nine Dollar Computer - Kickstarter
Next Thing Co. is raising funds for CHIP - The World's First Nine ... 39,560 backers pledged $2,071,927 to help bring this project...
Read more >xtacocorex/CHIP_IO: A CHIP IO library for Python - GitHub
CHIP_IO now supports the ability to enable and disable the 1.8V port on U13. This voltage rail isn't enabled during boot. To use...
Read more >The Next Thing Co. C.H.I.P. - Johnny-Five.io
C.H.I.P. ! Here's a basic "Hello World" program to get started with Johnny-Five and Chip-IO on your Next Thing Co. C.H.I.P.:
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ha, yeah, just changing two lines in
lib.py
got me up and running—(and using appropriate pins:
serial = spi(port=32766, device=0, bcm_DC="CSID1", bcm_RST="CSID0")
Hee hee, okay, that explains a lot 😄
oof,
(cpu is still about 30% idle, interestingly)