Skip to content

Driver for MAX31855 thermocouple converter with linearization support

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

chvllad/max31855-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

max31855-rs

MAX31855 driver with linearization and async embedded_hal support

Example

use max31855_rs::MAX31855;
let mut device = MAX31855::new(spi);

// Sync
let data = device.read_data()?;
// Async
let data = device.read_data().await?;

let data_raw = data.raw();
let temp = data.get_linear_temp()?;

Features

  • linearization - enables linearization for K-type thermocouples as described in https://learn.adafruit.com/calibrating-sensors/maxim-31855-linearization. Requires either libm or micromath feature to work.
  • hal-async - enables async spi reading using embedded-hal-async interfaces (currently requires nightly compiler)
  • hal-block - enables blocking spi reading using embedded-hal interfaces

License: MIT OR Apache-2.0

About

Driver for MAX31855 thermocouple converter with linearization support

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages