Commit f65e1fa6 authored by Simon Wörner's avatar Simon Wörner

clean up

parent 01a8de59
pub mod gpio;
#[cfg(feature = "measure")]
pub mod measure;
mod measure;
#[cfg(feature = "measure")]
pub use measure::Measure;
\ No newline at end of file
extern crate kawaii;
use std::time::Duration;
use std::thread::sleep;
use kawaii::gpio::{SyncPort, AsyncPort, Direction, Edge, Value};
#[cfg(feature = "measure")]
use kawaii::measure::Measure;
fn main() {
......@@ -15,7 +16,7 @@ fn main() {
for _ in 0..5 {
sleep(Duration::new(0, 1_000_000));
std::thread::sleep(Duration::new(0, 1_000_000));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment