kirdy/src/thermostat/thermostat.rs

18 lines
308 B
Rust

use crate::thermostat::ad5680;
use crate::thermostat::MAX1968;
pub struct Thermostat {
max1968: MAX1968,
// TADC
}
impl Thermostat{
pub fn new (max1968: MAX1968) -> Self {
Thermostat{
max1968
}
}
pub fn setup(&mut self){
self.max1968.setup();
}
}