GPIO and SPI
#20
Hey @pkfpeters, I have been working on getting a radio receiver/transmitter to work on the pine64 using the RCswitch library, which uses the wiringPi library. The biggest hurtle was getting the event callback stuff to work for the receiving end, but for the rest most of the general wiringPi functionality is there (I think).
I haven't spend to much time cleaning things up, so I hope the code is somewhat readable. Here is a link: https://github.com/louwie17/receiver-pin...wiringPi.c
  Reply


Messages In This Thread
GPIO and SPI - by SamR1 - 08-25-2016, 03:52 AM
RE: GPIO and SPI - by MarkHaysHarris777 - 08-25-2016, 04:01 AM
RE: GPIO and SPI - by pfeerick - 08-26-2016, 09:41 PM
RE: GPIO and SPI - by MarkHaysHarris777 - 08-26-2016, 10:32 PM
RE: GPIO and SPI - by pfeerick - 08-26-2016, 11:25 PM
RE: GPIO and SPI - by MarkHaysHarris777 - 08-26-2016, 11:32 PM
RE: GPIO and SPI - by SamR1 - 08-25-2016, 04:18 AM
RE: GPIO and SPI - by MarkHaysHarris777 - 08-25-2016, 04:27 AM
RE: GPIO and SPI - by SamR1 - 08-25-2016, 04:48 AM
RE: GPIO and SPI - by DonFL - 08-27-2016, 07:14 AM
RE: GPIO and SPI - by MarkHaysHarris777 - 08-27-2016, 12:58 PM
RE: GPIO and SPI - by louwie17 - 04-17-2017, 01:32 PM
RE: GPIO and SPI - by pkfpeters - 04-21-2017, 12:53 AM
RE: GPIO and SPI - by louwie17 - 04-21-2017, 05:49 AM
RE: GPIO and SPI - by pkfpeters - 04-21-2017, 08:04 AM
RE: GPIO and SPI - by pkfpeters - 04-28-2017, 07:13 AM
RE: GPIO and SPI - by louwie17 - 05-05-2017, 06:25 AM
RE: GPIO and SPI - by pkfpeters - 06-12-2017, 08:30 AM
RE: GPIO and SPI - by louwie17 - 06-12-2017, 08:40 AM
RE: GPIO and SPI - by louwie17 - 06-20-2017, 06:45 AM
RE: GPIO and SPI - by jomoengineer - 03-15-2018, 10:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 132,691 12-15-2022, 08:40 PM
Last Post: Fadazo
  fm transmitter with gpio weasel18 2 4,866 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,623 06-12-2019, 10:37 AM
Last Post: dkebler
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 11,215 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 11,303 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 11,930 01-24-2019, 03:36 AM
Last Post: Fifth
Question GPIO shockr 7 14,879 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 21,318 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 6,151 11-10-2016, 06:07 PM
Last Post: joseph
  RPI2-GPIO mus1c 6 9,168 09-22-2016, 05:28 AM
Last Post: mus1c

Forum Jump:


Users browsing this thread: 1 Guest(s)