@ -11,6 +11,10 @@
#define LCD_CHAR_DEGREE 0x03
#define LCD_CHAR_BLANK 0x20
extern uint8_t newThermoData1;
extern uint16_t thermoData[];
extern const prog_uint8_t lcd_halfbar_char[];
extern const prog_uint8_t lcd_bar_char[];
extern const prog_uint8_t lcd_degree_char[];
@ -1,5 +1,9 @@
#include "main.h"
uint8_t newThermoData = 1;
uint16_t thermoData[] = {1024, 814, 2475, 2243};
volatile uint16_t timer1_acc;
uint16_t softtimer_last[SOFTTIMERNUMS];
@ -70,7 +74,7 @@ int __attribute__((noreturn)) main(void) {
newThermoData = 1;
}
SOFTTIMER(1,100) {
SOFTTIMER(1,250) {
updateTemperature();
@ -26,8 +26,8 @@
#include "spi.h"
#include "usb.h"
static uint8_t newThermoData = 1;
static uint16_t thermoData[] = {1024, 814, 2475, 2243};
extern uint8_t newThermoData;
#define SOFTTIMERNUMS 4