 // void publishPayload();
 // void displayLCD();
 // void debugDisplayPayload();
- void callback(char* topic, byte* payload, unsigned int length);
+void callback(char* topic, byte* payload, unsigned int length);
 
 // Configure 2 line LCD display with I2C interface
 

    publishDebug("Environment timer completed");
    ++counter;
    readDHTSensor();
    connectWithBroker();
    debugDisplayPayload();
    displayLCD();
    publishPayload();

#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);

// Motor

#define DIRA 0 // D3 = GPIO0
#define PWMA 5 // D1 = GPIO5

// Switches

#define PORT_MOTOR_SWITCH_LEFT 13 // D7 = GPIO13
#define PORT_MOTOR_SWITCH_RIGHT 12 // D6 = GPIO12
#define MOTOR_SWITCH_LEFT 0
#define MOTOR_SWITCH_RIGHT 1
int motorSwitchDetected = 0;


int counter = 0;
float h; // humidity
float t; // temperature
float hic; // heat index


//*** Initialisation ********************************************

