 PinChange button(SWITCH, pins);
 Timer1 timer(TIMER, 600);
 Devices devices;
-
-uint8_t buf[8], *p = buf;
-double curr_temp = 0.0;
 
 const uint8_t A = _BV(0);
 const uint8_t B = _BV(1);

	case THERMISTOR:
		curr_temp = read_temp();
		timer.enable();
		reformat();
		break;
	}
	if (now - last > IDLE) {


void loop(void)
{
	static uint8_t buf[8], *p = buf;
	static double curr_temp = 0.0;
	static uint32_t last;
	uint32_t now = millis();

