Expand description
A wrapper around a standard Pin which inverts the sense of the pin. Useful where you have, for example, active-low inputs.
§Usage
Anywhere you would use a Pin, you can use a Inverter instead. Create
the debouncer using one of the methods provided by the avr_oxide::devices::UsesPin
trait,
passing the pin you wish to wrap to the constructor.
let supervisor = avr_oxide::oxide::instance();
let mut green_button = StaticWrap::new(OxideButton::using(Inverter::using(Debouncer::with_pin(board::pin_a(2)))));