 
 void longSleep(){
   Sleepy::loseSomeTime(SLEEP_LONG_INTERVAL);
+}
+
+int getBatteryMilliVoltage(){
+ int battValue = analogRead(BATT_PIN);
+ int battMilliVoltage = (((float) battValue) / 1024) * 5000;
+ Serial.print("Batt: ");
+ Serial.println(battMilliVoltage);
+ 
+ return battMilliVoltage;
+
 }
 
 


#include <LCD03.h>
 

#define LED_13_PIN 13


#define SLEEP_LONG_INTERVAL 45000 //45s

#define LIGHT_THRESHOLD 50
#define BATT_MILLIVOLT_NOT_TURN_ON_LIGHT_THRESHOLD 3500

#define OFF_HOUR 00
#define OFF_MIN 00
