Building the `bbb_io` Rust crate
Revisit GPIO, ADC and PWM on the BeagleBone Black using native Rust and the standard library.
Practical Checklist
In this sequence, you will implement Rust equivalents of the GPIO, ADC and PWM functionality developed in the C libioctrl library.
A Rust crate is a compilation unit that produces a library or an executable. This sequence develops a reusable bbb_io library crate and several executable examples.
-
Install Rust on the BeagleBone Black:
-
If you have installed rust on the BeagleBone, you can now move on to:
-
Then we move on to the GPIO implementation
-
Next is the ADC functionality
-
This chapter deals with the PWM capabilities for BBB with rust
-
Finally, combine ADC and PWM functionality in one programme: