   // Initialise LCD
   initLCD();
 
+  // Initialise fan
+  pm(FAN_PIN, OUTPUT);
+
   // Initialise motors
   sX.begin();
   sY.begin();

#define FAN_PIN            9

#define BUZZ_PIN           31

#define PS_ON_PIN          12
#define KILL_PIN           -1


// TODO Implement these functions
/* void flashled() {} */
void fanOn(bool operation) {
  if(operation)
    analogWrite(FAN_PIN, temperature.getFanSpeed());
  else
    digitalWrite(FAN_PIN, LOW);
}
/* bool xswitch() {} */
/* bool yswitch() {} */
/* bool zswitch() {} */
