Registry / other / embedded-hal-nb

embedded-hal-nb

JSON →
library1.0.0rscratesunverified

Non-blocking Hardware Abstraction Layer for embedded systems using the `nb` crate.

# Cargo.toml [dependencies] embedded-hal-nb = "1.0.0"
INSTALL
IMPORT
SIG · EMBEDDED-HAL-NB
E
embedded-hal-nb
otherrustv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

InputPin
use embedded_hal_nb::digital::InputPin;

Reads a digital input pin using the non-blocking HAL.

use embedded_hal_nb::digital::InputPin; fn read_pin<P: InputPin>(pin: &mut P) -> bool { pin.is_high().unwrap_or(false) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
embedded-hal-nb — cargo add embedded-hal-nb · libregistry