  #include <Flash.h>
 #endif // DEBUG
 
+#ifdef SEND_DATA
+ #include <RCSwitch.h>
+#endif // SEND_DATA
+
 // http://www.pjrc.com/teensy/td_libs_OneWire.html
 #include <OneWire.h>
 

#endif // SCAN_SENSORS
}

int getRawTemperature(float temp) {
  switch (TEMPERATURE_PRECISION) {
    case 12:
      return (int)(temp / 0.0625);
    case 11:
      return (int)(temp / 0.125);
    case 10:
      return (int)(temp / 0.25);
    case 9:
      return (int)(temp / 0.5);
  }
  
  return 0;

    // alternative printout, only known sensors correctly prefixed
    if ( sensors.isConnected( gSensor1 ) ) {
      temp = sensors.getTempC( gSensor1 );
      Serial << "T1: " << temp << " " 
             << getRawTemperature(temp, TEMPERATURE_PRECISION);
    }
    if ( sensors.isConnected( gSensor2 ) ) {
      temp = sensors.getTempC( gSensor2 );
      Serial << "T2: " << temp << " " 
             << getRawTemperature(temp, TEMPERATURE_PRECISION);
    }
    if ( sensors.isConnected( gSensor3 ) ) {
      temp = sensors.getTempC( gSensor3 );
      Serial << "T3: " << temp << " " 
             << getRawTemperature(temp, TEMPERATURE_PRECISION);
    }
    if ( sensors.isConnected( gSensor4 ) ) {
      temp = sensors.getTempC( gSensor4 );
      Serial << "T4: " << temp << " " 
             << getRawTemperature(temp, TEMPERATURE_PRECISION);
    }
    if ( sensors.isConnected( gSensor5 ) ) {
      temp = sensors.getTempC( gSensor5 );
      Serial << "T5: " << temp << " " 
             << getRawTemperature(temp, TEMPERATURE_PRECISION);
    }
    Serial.println();
#endif // DEBUG
