 # define DEBUG0(x) (x)
 # define DEBUG1(x) PRE; Serial.println(x); POST
 # define DEBUG10(x) Serial.print(x); POST
+# define DEBUG2(x,y) PRE; Serial.print(x); Serial.println(y); POST
+# define DEBUG20(x,y) PRE; Serial.print(x); Serial.print(y); POST
 #else
 # define DEBUG0(x)
 # define DEBUG1(x)
 # define DEBUG10(x)
+# define DEBUG2(x,y)
+# define DEBUG20(x,y)
 #endif
 
 #define TEMP_ADC_PIN A3

#define SAMPLE_DELAY_MS 1000L
#define HEATER_PERIOD 10000L

#define SET_POINT_MODE
//#define P_MODE
//#define PI_MODE
//#define PD_MODE
//#define PID_MODE

#ifdef SET_POINT_MODE
#	define DUTY_INIT 0.0
#else
#	define DUTY_INIT 0.0
#endif

#define PGAIN 1
#define IGAIN 0
#define DGAIN 0
#define IMIN 0
#define IMAX 100

#define DRIVE_MAX 100
#define DRIVE_MIN 10


	delay(100);
}
#endif // OPEN_LOOP_MODE

#ifdef P_MODE
void loop()
