 
 #define BUZZER_GPIO       (2)
 #define SOLENOID_GPIO     (4)
-#define REDLED_GPIO       (5)
-
 #define LED_AART          (16)
 
 #define DOOR_OPEN_DELAY   (10*1000)

#define PREFIX "test"
#endif

const char rfid_topic[] = PREFIX "deur/space2/rfid";
const char door_topic[] = PREFIX "deur/space2/open";
const char log_topic[] = PREFIX "log";

WiFiClient wifiClient;

  solenoid.once_ms(DOOR_OPEN_DELAY, &closeDoor);

  // Sound buzzer 5 times / second. Use analog PWM if we need faster than 1kHz.
  buzzer.attach_ms(200, &buzz);

};

