GPIO, SPI and I2C C++ Lib
#5
(04-20-2017, 04:00 PM)databit Wrote: Hi to everyone! I'm a CS teacher and for some time I playing with my Pine64+. Last week, I built a C++ library (in object oriented paradigm) for manage GPIO, I2C and SPI.


https://github.com/databit/Pine64-CPP


This lib is based on the work of Eric Ptak <trouch@trouch.com>, Stefan Mavrodiev <support@olimex.com> and Kamil Trzcinski <ayufan@ayufan.eu>

I hope this library can be of help to you!

Send me yours comments and eventual bugs.

Very cool!  Does anyone know exactly how many IO lines you can use as general purpose IO on the PINE64??

My sons science fair project needs 192 IO lines (96 in, 96 out) and we are trying to figure out how many Pine's to buy, the IO is straight digital signals going to high speed DAC and ADC's
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 98 147,636 10-26-2024, 07:17 AM
Last Post: Garesdq1d
  fm transmitter with gpio weasel18 2 5,445 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,968 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 12,336 06-07-2019, 12:37 AM
Last Post: tllim
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 12,755 01-24-2019, 03:36 AM
Last Post: Fifth
  GPIO and SPI SamR1 20 34,925 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 16,249 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 23,753 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
  RPI2-GPIO mus1c 6 10,230 09-22-2016, 05:28 AM
Last Post: mus1c

Forum Jump:


Users browsing this thread: 1 Guest(s)