Add more getter functions to the commands module

This commit is contained in:
Robert Sammelson 2023-05-17 22:12:13 -04:00
parent 97f17af790
commit 8d521ff46d
No known key found for this signature in database
GPG key ID: 92F1F04EDB06B9E9
4 changed files with 42 additions and 6 deletions

View file

@ -22,6 +22,11 @@ fn main() {
let state = time::Instant::now();
while state.elapsed() < time::Duration::from_secs(5) {
println!("");
println!(
"Coolant Temperature: {:?}",
device.get_engine_coolant_temperature()
);
println!("RPM: {:?}", device.get_rpm());
println!("Speed: {:?}", device.get_speed());
}