Files @ 2b4eb31dd8da
Branch filter:

Location: therm-ng/src/tempsense.c

ethanzonca
Rework some structure to segregate business logic of PID / thermostatic control / temp sensing
//
// 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...
}