   servo.attach(MOTOR_PIN);
   servo.write(0); // initial position
   
-  timer.setInterval(REPOSITORY_INTERVAL, checkRepository);
+  timer_remote.setInterval(REPOSITORY_INTERVAL, checkRepository);
+  timer_vcc.setInterval(POWERCHECK_INTERVAL, batteryCheck);
   
   Serial.begin(115200);
   Serial.print("\n Starting at :");

        server->on("/servoslow", [](){
          goFeedSlow(server->arg("val")); 
        });
        server->begin();
        Serial.println("Custom HTTP server started");
        doblink(LED_PIN, 1, 5000);

#include <Servo.h>
#include <SimpleTimer.h>
#include <ESP8266HTTPClient.h>

extern "C" {
  #include "user_interface.h"
}

Servo servo;
/*
