Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus
#5
(09-25-2017, 04:29 PM)TeaPack Wrote: Hi Marcushh =)
Do you know, if RPi.GPIO is also working with EulerBus? I was trying to use PB3 and PB8 pins, but their # (35, 40) is not working for me... Undecided pin #23 on RPi bus is working correctly...
Which version of RPi.GPIO are u using? there are several of them on GitHub, even fork with totally destroyed RPi.GPIO renamed to "brand new" Pine.GPIO :-\


hi TeaPack,  the euler bus gpio(s) do work ;  I use them with sysfs, and with C ;  but the RPi.GPIO-Pine64 package is designed to mimic the python codes of the RPi3 on the PI-bus;  it won't work (out-of-box) because you have to specify either BOARD , or BCM , numbering scheme which does not cover the euler bus.  There could of course be a modification ( like EULER ) to provide a numbering scheme that would work;  you might make that suggestion on the github site for RPi.GPIO-Pine64.

Shy
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply


Messages In This Thread
RE: Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus - by MarkHaysHarris777 - 09-26-2017, 01:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 147,610 10-26-2024, 07:17 AM
Last Post: Garesdq1d
  fm transmitter with gpio weasel18 2 5,443 09-10-2019, 04:28 AM
Last Post: desai_amogh
  Ada Fruit GPS Ultimate Breakout Board for PineA64 MarkHaysHarris777 16 25,384 07-05-2019, 07:46 AM
Last Post: Maddie
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,968 06-12-2019, 10:37 AM
Last Post: dkebler
Star GPIO, SPI and I2C C++ Lib databit 7 12,434 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 12,751 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 34,922 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 16,247 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 23,750 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,764 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)