GPIO, SPI and I2C C++ Lib
#7
I've grabbed the files from github and the sample works fine.  It is intersting that there seems to be some similarities to what Derek Molloy had done for the Raspberry Pi but I do like the use of "/dev/gpiomem" to avoid having to be root when accessing the gpio pins.  Is there a reason why there are still references for the Raspberry Pi hardware "BCM2708" instead of the Pine64 harware?
Are there any SPI and i2c examples for this?

Thanks.
  Reply


Messages In This Thread
GPIO, SPI and I2C C++ Lib - by databit - 04-20-2017, 04:00 PM
RE: GPIO, SPI and I2C C++ Lib - by xalius - 04-20-2017, 04:05 PM
RE: GPIO, SPI and I2C C++ Lib - by databit - 04-21-2017, 05:10 PM
RE: GPIO, SPI and I2C C++ Lib - by ealbers - 05-01-2017, 02:43 PM
RE: GPIO, SPI and I2C C++ Lib - by Zoidiano0 - 05-01-2017, 02:53 PM
RE: GPIO, SPI and I2C C++ Lib - by jomoengineer - 03-18-2018, 01:59 AM
RE: GPIO, SPI and I2C C++ Lib - by Jeff R - 02-04-2019, 05:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 97 133,287 02-23-2022, 02:56 PM
Last Post: ncs
  fm transmitter with gpio weasel18 2 4,880 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,632 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,232 06-07-2019, 12:37 AM
Last Post: tllim
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,946 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 31,941 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 14,895 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,369 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,161 11-10-2016, 06:07 PM
Last Post: joseph
  RPI2-GPIO mus1c 6 9,186 09-22-2016, 05:28 AM
Last Post: mus1c

Forum Jump:


Users browsing this thread: 1 Guest(s)