sbitx
sbitx copied to clipboard
Wiringpi
Please learn to use gpiod and stop using wiring pi . People may want to use this on other boards then a raspi and wiringpi breaks on other systems
as it stands with the cost of the pi right now other boards that work as well if not better are available . An being able to use boards that function and less cost right now is a must.
I just tried to install wiringpi following the instructions in install.txt. wget is failing with a 404 error.
(wget https://project-downloads.drogon.net/wiringpi-latest.deb)
yes, we must move away from wiringPi, it is only being used to manipulate the gpio lines and delay() functions. Should we just roll our own into a harware.c or arch.c file?
Just as a side note, I'm maintaining the WiringPi code (with support for armhf and arm64) as long as sbitx uses it. Here is the code: https://github.com/Rhizomatica/WiringPi
RichNeese, as an open source project, you are also free to learn libgpio and make a PR. : )
I am just hacking away for now. We will have to refactor the great wasteland of sbitx_gtk.c and gather all the gpio calls into portable wrappers.
- f
On Thu, May 4, 2023, 2:57 PM Rafael Diniz @.***> wrote:
Just as a side note, I'm maintaining the WiringPi code (with support for armhf and arm64) as long as sbitx uses it. Here is the code: https://github.com/Rhizomatica/WiringPi
RichNeese, as an open source project, you are also free to learn libgpio and make a PR. : )
— Reply to this email directly, view it on GitHub https://github.com/afarhan/sbitx/issues/22#issuecomment-1534392108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFYXODRCXZERVKYY7NCDWDXENZBRANCNFSM6AAAAAASGCBU6A . You are receiving this because you commented.Message ID: @.***>
I re-wrote all the GPIO code using gpiolib here: https://github.com/Rhizomatica/sbitx-core/tree/gpiolib
i2c is also done using libi2c and kernel-mode i2c bit-banging.
WiringPi is now maintained again. No point of moving away from it.