You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Linux kernel v4.4 the use of sysfs GPIO was deprecated and replaced by the character device GPIO.
14
+
See [gpio-cdev documentation](https://github.com/rust-embedded/gpio-cdev#sysfs-gpio-vs-gpio-character-device) for details.
15
+
16
+
This crate includes feature flag `gpio_cdev` that exposes `CdevPin` as wrapper around `LineHandle` from [gpio-cdev](https://crates.io/crates/gpio-cdev).
17
+
To enable it update your Cargo.toml.
18
+
```
19
+
linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] }
20
+
```
21
+
22
+
`SysfsPin` can be still used with feature flag `gpio_sysfs`.
0 commit comments