adds cell for fetching the RPM

This commit is contained in:
Robert Schauklies 2026-01-25 00:36:07 +01:00
parent 6c38cd59ee
commit 47f224055b
2 changed files with 21 additions and 6 deletions

View file

@ -100,6 +100,10 @@ fn main() -> ! {
loop {
dshot_esc.process();
dshot_esc.set_throttle(150);
match dshot_esc.get_rpm() {
Some(x) => {rprintln!("GOT RPM {}",x)},
None => {rprintln!("NO RPM!")}
}
}
// rprintln!("RMT SENT!");