#include <Arduino.h>
#include <WiFi.h>
#include "Device.h"
const int pirPin = 22;
const int ldrPin = 32;
const int ledPin = 23;
int barGraphPins[10] = {13, 12, 14, 27, 26, 25, 33, 32, 35, 34};
Device device(pirPin, ldrPin, ledPin, barGraphPins, 10);
void setup() {
Serial.begin(9600);
delay(1000);
Serial.println("Developed by: Lucía Aliaga");
Serial.println("Owlet, Inc. IoT Device");
delay(1000);
device.begin();
}
void loop() {
device.update();
delay(3000);
}