GPIO programming on RPi

Thanks, I'll take a look, although it looks as though I'll have to give up on the idea of using FreeBSD on my RPi-B with its Piface Digital interface because there are too many obstacles to getting it working.

I'll probably try out a few of the examples on my RPi2.
 
I think the 7 dollar relay card aragats recommended is spot on. it has relays and LEDs. Really simple to show on off.

With specialty Hats or Capes you really need to check to see if base chip driver is present on FreeBSD.
Then you got to deal with making a custom DTB/DTS or modding the Linux one, if it exists, for the hardware to work.
 
just found this thread. Has GPIO for the raspberry pi been added? meaning can I write programs like I would on a Raspberry Pi OS. I am wanting to use C and Python
 
See the manual for gpio(3) library functions.
Pi2 and Pi3 defiantly have GPIO support. Pi4 is a WIP.
OneWire drivers, I2C and SPI too. You can use some Linux overlays with work.
 
Last edited:
Back
Top