Commit ca854940 authored by Federico Meloda's avatar Federico Meloda

added setup_wifi into setup

parent 07221a49
......@@ -98,6 +98,7 @@ void sunFall() {
void setup() {
Serial.begin(9600);
setup_wifi(); // Connect to wifi
client.setServer(mqtt_server, 1883);
client.setCallback(callback);
Servo1.attach(servoPin);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment