Expand description

Provides ready to use setup functions for concrete GPIO libraries/drivers. You may use them but it is not required. You can learn from the code and write setup functions by yourself!

These features must be activated in your Cargo.toml of you want to use them.

Functions

Setups a dummy Adapter for testing.
Sets up the Driver using “gpio-cdev”-crate as GPIO interface/library. This is better than wiringpi or “sysfs” because it uses the modern character device based API/Driver in the linux kernel. See https://docs.rs/gpio-cdev/0.3.0/gpio_cdev/