Good day,
I am trying to access the GPIO on a Raspberry Pi 4B running the latest Raspberry Pi OS based on Debian Bullseye. However, when running make, I get the error
fatal error: wiringPi.h: No such file or directory
A few quick online searches reveals that wiringPi has been deprecated, and is no longer included in Raspberry Pi OS.
Of course, I can compile and install it from source, but I would not like to build an application on an already deprecated library.
https://github.com/WiringPi/WiringPi is a fork which seems like it might work, but before installing it, I would like to ask the Embedded Wizard developers / anyone else:
Which libraries they have you tried using (e.g. pigpio which is included in Raspberry Pi OS) and how can I switch from wiringPi without too much trouble?
Thank you in advance