This is a Rust library that helps you communicate with your MAX6675 over Linux's SPI API.
For full examples, please see the examples folder!
However, you can get away with using something like this:
let mut max = Max6675::new("/dev/spidev0.0")?;
std::thread::sleep(Duration::from_secs(3));
loop {
println!("Read Celsius! Got: {}° C.", max.read_celsius()?);
std::thread::sleep(Duration::from_millis(500));
}
I built this library for use on my robotics and vehicular telemetry projects. Please let me know if there are any missing features - I'm happy to add them. 🤩️
I'd also like to see additional examples. If you have any ideas, please let me know and I'll stick it in the examples
folder.
Also, it's fairly likely this'll end up on my blog sometime soon! If this is looking a bit difficult to use, I'll definitely have a simple guide up at some point!
If there's something you want to see, or a fix you'd like to submit, feel free to send in a PR!
Make sure to reach out in the Issues before doing anything significant, though! 😄️