Overrides the default hardware-based GPIO pins with the given ones.
(mut self, pins: Rc<RefCell<dyn gpio::Pins>>)
| 338 | |
| 339 | /// Overrides the default hardware-based GPIO pins with the given ones. |
| 340 | pub fn with_gpio_pins(mut self, pins: Rc<RefCell<dyn gpio::Pins>>) -> Self { |
| 341 | self.gpio_pins = Some(pins); |
| 342 | self |
| 343 | } |
| 344 | |
| 345 | /// Overrides the default yielder with the given one. |
| 346 | pub fn with_yielder(mut self, yielder: Rc<RefCell<dyn Yielder>>) -> Self { |
no outgoing calls