 }
 
 void setup() {
- Wire.begin(2);
+ Wire.begin(6);
  Wire.onRequest(requestEvent); 
  Wire.onReceive(receiveEvent);
  //Serial.begin(9600);

#include <Wire.h> 
#include <avr/dtostrf.h>

volatile byte* Float1ArrayPtr;


  } else if(c == 3) { // rain
     // dataToSend = 5.6;
    dataToSend = getUnitRain();  
  } else if(c == 4) { // wind direction
    dataToSend = getDirection();
  } else if(c == 5) { // solar
    dataToSend = getSolar();
  } else if(c == 6) { // battery
    dataToSend = getBattery();
  }
  previousMillis = millis();
