#gpio #gpio-pin #milk-v

wiringx

safe and Rusty bindings to the wiringX library

4 releases

0.1.3 Sep 3, 2024
0.1.2 Jul 19, 2024
0.1.1 Jul 8, 2024
0.1.0 Jul 8, 2024

#516 in Embedded development

Download history 130/week @ 2024-08-31 13/week @ 2024-09-07 14/week @ 2024-09-14 11/week @ 2024-09-21 12/week @ 2024-09-28 1/week @ 2024-10-05

262 downloads per month

MPL-2.0 license

7.5MB
11K SLoC

C 10K SLoC // 0.1% comments Rust 758 SLoC Python 206 SLoC // 0.4% comments Batch 26 SLoC JavaScript 5 SLoC Shell 1 SLoC

wiringX

Safe Rust port of the wiringX GPIO library.

Examples found in the examples folder next to this readme.

Examples are made for the Milk-V Duo S, but can easily be changed for other platforms by changing the selected platform in the enum and changing the pin number for the LED.


lib.rs:

Safe WiringX Rust bindings.

Dependencies

~0.7–8MB
~72K SLoC