RPi.GPIO with C
#3
The "pinea64_found" variable is located in RPi.GPIO-PineA64-master/source/cpuinfo.c and initialized to 1 if the identified board is a PineA64.
You can bypass that code by simply adding a global variable "int pinea64_found = 1;" somewhere in your code.
  Reply


Messages In This Thread
RPi.GPIO with C - by Wolfenstein - 08-14-2016, 02:26 PM
RE: RPi.GPIO with C - by MarkHaysHarris777 - 08-14-2016, 02:35 PM
RE: RPi.GPIO with C - by KnReLe - 08-22-2016, 02:58 AM
RE: RPi.GPIO with C - by martinayotte - 08-15-2016, 07:21 AM
RE: RPi.GPIO with C - by MarkHaysHarris777 - 08-22-2016, 07:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 97 134,499 02-23-2022, 02:56 PM
Last Post: ncs
  fm transmitter with gpio weasel18 2 4,926 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,663 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,326 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,418 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,991 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 32,184 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 15,001 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,553 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,210 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:


Users browsing this thread: 1 Guest(s)