+#include <Adafruit_SleepyDog.h>
 #include <TinyWireM.h>
 #include <USI_TWI_Master.h>
 #include <Wire.h>
 #include <RFM69.h>
 #include <SPI.h>
 #include <stdlib.h>
+#include <avr/wdt.h>
 
 volatile byte* Float1ArrayPtr;
 double dataToSend;

void requestEvent(){
  // char frame[30];
 //sprintf(frame, "%8.2", dataToSend);

   //String data = String(dataToSend, DEC);
   //dataToSend = 123456.78;
  if(dataToSend == 0 || dataToSend == 1) { // isDataNew

digitalWrite(8, LOW);
 Wire.begin(7);
 Wire.onRequest(requestEvent); 
 Wire.onReceive(receiveEvent);
  int countdownMS = Watchdog.enable();   
  Serial.println("Setup complete"); 
}
void loop() {
  Watchdog.reset();
  //check if something was received (could be an interrupt from the radio)
  if (radio.receiveDone())
  {
  Watchdog.reset();
  int sensorIndex = 1;
  int sensorCharIndex = 0;
  int charIndex = 0;
