diff --git a/src/tempsense.c b/src/tempsense.c new file mode 100644 --- /dev/null +++ b/src/tempsense.c @@ -0,0 +1,24 @@ +// +// TempSense: read temperature from TC, RTD, or NTC +// + +#include "tempsense.h" +#include "flash.h" + + +void tempsense_init(void) +{ + +} + +float tempsense_readtemp(void) +{ + // TODO: Support multiple temperature sensors + + + // either return latest reading from DMA loop (NTC, etc) + // or initiate a blocking read and return it. + // Need to gracefully handle the timeout... +} + +