RPi.GPIO python module for Pine A64/A64+
#59
(06-17-2016, 12:49 AM)jacobscarter Wrote: Is anyone running into the issue where "import RPi.GPIO as GPIO" return "No module named RPi_GPIO"?

This happened to me and it was because I was executing my python script from the same folder where I downloaded the RPi.GPIO library. Just place your script in another location (or open a python session in another dir) and it should work.

On another subject, has someone been able to use the GPIO 4 (pin 7) as an input yet? I'm working on a shield for the Raspberry Pi and I would like to make it compatible with the Pine64. I need to use all the "green" pins, don't have any other free pin. Another issues I'm having is the lack of GPIO interrupts and SPI not working.
I really want to make my shield work on the Pine but I feel that there are a lot of community efforts and too little effort from the Pine team on the Linux side, so I'm considering to stop investing more time on the Pine, even after investing a lot of time in designing the board layout to fit both the RPi and the Pine.
  Reply


Messages In This Thread
RE: RPi.GPIO python module for Pine A64/A64+ - by ciclopez - 12-30-2016, 02:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fm transmitter with gpio weasel18 2 4,828 09-10-2019, 04:28 AM
Last Post: desai_amogh
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,596 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,127 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,211 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,850 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,599 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,767 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,165 08-17-2017, 01:21 PM
Last Post: martinayotte
  Cross-wired Uart Ports between two Pine Boards via Cat5 Cable MarkHaysHarris777 10 15,996 11-20-2016, 04:17 AM
Last Post: pfeerick
  GPIO fiq capability joseph 3 6,094 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 2 Guest(s)