How to determine GPIO numbers?
#4
(03-23-2016, 04:39 PM)joey Wrote:
(03-23-2016, 03:44 PM)patrickhwood Wrote: Just an fyi, the 32 comes from the fact that gpio pins are grouped into banks of 32 pins. So pins in bank 0 are numbered 0 to 31, pins in bank 1  32 to 63, and so on.

Thanks Patrick. That makes perfect sense.


Hi

So what am I doing wrong?  I don't have /sys/class/gpio - i have class but no gpio

however the pi2 pins seems to be live anyway, i can get an led to light running off the 5V and GND pins whenever the pine is running.

Is this a quirk for the android setup?  Am I going to have to install linux for the first time in my life?
  Reply


Messages In This Thread
How to determine GPIO numbers? - by joey - 03-22-2016, 09:38 PM
RE: How to determine GPIO numbers? - by joey - 03-23-2016, 04:39 PM
RE: How to determine GPIO numbers? - by Thargoid - 07-24-2016, 03:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 147,593 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
  How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)? dkebler 1 3,967 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 12,324 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 12,432 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 12,747 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 34,920 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 16,246 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 23,749 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,763 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 2 Guest(s)