 int DS18S20_Pin = 2; //DS18S20 Signal pin on digital 2
 OneWire ds(DS18S20_Pin); // on digital pin 2
 
+
+#define NUM_SAMPLES 10
+
+//voltage divider stuff
+int sum = 0;                    // sum of samples taken
+unsigned char sample_count = 0; // current sample number
+float voltage = 0.0;            // calculated voltage
 
 // Convert normal decimal numbers to binary coded decimal
 byte decToBcd(byte val)

#include "Wire.h"
#include <avr/sleep.h>  //sleep library
#include <DS3231.h> //clock
#define DEBUG 1
#define DEBUG_TO_SD 0
#define POWA 4    // pin 4 supplies power to microSD card breakout and temp sensor

//Clock var's
#define DS3231_I2C_ADDRESS 0x68 //default address for DS3231
#define wakePin 3
unsigned int timeToSleep = 1; //use this to control the value going to the clock register. Set it to the # minutes desired to log
int timeCount = 0; //don't modify this

SPISettings mySettings;
DS3231 clock;

#if DEBUG
    printTime();
#endif
#if DEBUG
    Serial.print("timeCount is ");
    Serial.println(timeCount);
    Serial.println("isAlarm() is: " + String(clock.isAlarm1(false)));
