#include <HomeSpan.h>
#include "garage.h"
void setup() {
Serial.begin(115200);
homeSpan.begin(Category::GarageDoorOpeners,"Garage Door");
new SpanAccessory();
new Service::AccessoryInformation();
new Characteristic::Identify();
new GarageDoorService(4, 16100, 15410);
}
void loop() {
homeSpan.poll();
delay(10); // this speeds up the simulation
}