(scope: &Scope<'_>, narg: u8)
| 88 | } |
| 89 | |
| 90 | fn parse_pin_mode(scope: &Scope<'_>, narg: u8) -> CallResult<PinMode> { |
| 91 | PinMode::parse(scope.get_string(narg)).map_err(|e| CallError::Syntax(scope.get_pos(narg), e)) |
| 92 | } |
| 93 | |
| 94 | /// Generic abstraction over a GPIO chip to back all EndBASIC commands. |
| 95 | pub trait Pins { |
no test coverage detected