i know arduino pretty well, and Wiring pi seems perfect for my use case, but unfortunately it didn’t work for me, is there another c/c++ alternative like it?
(raspian)
i know arduino pretty well, and Wiring pi seems perfect for my use case, but unfortunately it didn’t work for me, is there another c/c++ alternative like it?
(raspian)
WiringPi mixes multiple concepts together incorrectly. It’s outdated and plain wrong from a design perspective. There’s GPIO and then there’s hardware pinmux functions like I2C/SPI/UART/etc. We have the wiring tool:
You can use libgpiod to control GPIOs. Bus interfaces will be exposed under /sys/ once you enable the proper overlay for a certain pinmux.