 float get_ds18b20_temp (uint8_t *address);
 
 // Setup DHT22
-DHT dht(DHTPIN, DHTTYPE);
+DHT dht(dht_pin, DHTTYPE);
 
 void setup() {
   Serial.begin(9600);
   Serial.flush();
 
-  pinMode(led_pin, OUTPUT);
+  pinMode(LED_BUILTIN, OUTPUT);
   pinMode(ds18_01_pin, OUTPUT);
   pinMode(fan_pin, OUTPUT);
 

  }
}

void read_fan_status(4) {
  int fan_status digitalRead(fan_pin);

  Serial.print("\"fan\":"); Serial.print(fan_status); Serial.print(',');
}


void toggle_led() {
  led_value = ! led_value;
  digitalWrite(LED_BUILTIN, led_value);
}

void turn_fan_on() {
