aboutsummaryrefslogtreecommitdiff
path: root/src/structs.rs
diff options
context:
space:
mode:
authorJan Niehusmann <[email protected]>2022-09-06 21:06:47 +0000
committerJan Niehusmann <[email protected]>2022-09-06 21:08:04 +0000
commitea0738c4851cbeb87de0d40ce1e8246368db4c6b (patch)
tree3eeb5843292bb0a26931ade51ad4d54d9696d6d7 /src/structs.rs
parent29145e5f92918f5f6e575e5ccee159c0160c6694 (diff)
Add gpio_set
Example: Blink LED ``` loop { info!("on"); control.gpio_set(0, true).await; Timer::after(Duration::from_millis(200)).await; info!("off"); control.gpio_set(0, false).await; Timer::after(Duration::from_millis(200)).await; } ```
Diffstat (limited to 'src/structs.rs')
0 files changed, 0 insertions, 0 deletions