Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4576

C/C++ • Introducing WiringPi C Library 3.4

$
0
0
The WiringPi Team is excited to announce the release of WiringPi C Library 3.4! This powerful GPIO access library, written in C for Raspberry Pi boards, comes with some exciting enhancements and features. Let’s dive into the details:

GPIO Character Device Userspace API Support:
The most significant update in this release is the addition of the GPIO Character Device Userspace API. This feature replaces libgpiod Library and provides a more streamlined and efficient way to interact with GPIO pins from userspace applications.

New Features:
Along with the API extensions, WiringPi 3.4 introduces several new functions and improvements:
  • Interrupt Service Routine (ISR) Fix: If you’re using an up-to-date OS (kernels >= 6.6), this release ensures ISR functionality
  • gpio wfi Enhancements: The gpio wfi command now supports two new optional parameters: mode (for pin mode) and iterations (number of iterations).
  • WiringPiSetupSys now works again, as the function internally calls WiringPiSetupGpioDevice, ensuring that old programs should run without modification on all kernels.
How to Get WiringPi 3.4:
You can download the latest release from our GitHub repository: WiringPi 3.4 Releases https://github.com/WiringPi/WiringPi/releases/tag/3.4
Make sure to choose the correct version for your system architecture (32-bit or 64-bit Bookworm)
We encourage you to explore the new features, test them out, and provide feedback. As always, our community of contributors has been instrumental in making this release possible. A big thank you to everyone involved!

Happy coding with WiringPi 3.4! 🚀

Best regards, The WiringPi Team

Statistics: Posted by evil — Wed May 08, 2024 2:08 pm — Replies 0 — Views 22



Viewing all articles
Browse latest Browse all 4576

Trending Articles