|
|
|
|
@ -3,7 +3,6 @@
|
|
|
|
|
uint8_t newThermoData = 1;
|
|
|
|
|
uint16_t thermoData[] = {1024, 814, 2475, 2243};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volatile uint16_t timer1_acc;
|
|
|
|
|
uint16_t softtimer_last[SOFTTIMERNUMS];
|
|
|
|
|
|
|
|
|
|
@ -21,7 +20,7 @@ uint8_t softtimer(uint8_t timernum, uint16_t interval){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// SOFTTIMER( <YOUR TIMER NUM>, <YOUR INTERVAL>);
|
|
|
|
|
#define SOFTTIMER(n,a) if(softtimer((n),(a*4)))
|
|
|
|
|
#define SOFTTIMER(n,a) if(softtimer((n),(a*8)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void hardinit() {
|
|
|
|
|
|