embedded-controls 0.1.5

Based on switch-hal library that allows to handle primitive controls(buttons, encoders and etc.)
Documentation
1
2
3
4
5
6
7
8
/// Controls errors container.
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum Error<T, S> {
    // Error of [`ElapsedTimer`](timestamp_source::ElapsedTimer)
    ElapsedTimer(T),
    // Error of [`InputSwitch`](switch_hal::InputSwitch)
    InputSwitch(S),
}