 
 typedef enum { cent, fahr, abso } units_t;
 
-#define IDLE		10000L
-#define DIGIT		500L
-#define DEBOUNCE	250L
+#define IDLE_MS		10000L
+#define DIGIT_MS	500L
+#define DEBOUNCE_MS	500L
 
 #define THERMISTOR	7
 #define SWITCH		1

Analog thermistor(THERMISTOR, vcc);
PinChangeGroup pins(PB);
PinChange button(SWITCH, pins);
Timer1 timer(TIMER, DIGIT);
Devices devices;

const uint8_t A = _BV(0);

 * (Can program with Arduino as ISP using one of these:
 * http://programmablehardware.blogspot.ie/2011/05/in-system-programming.html )
 */
#include <math.h>
#include <Interrupted.h>

// thermistor parameters
