 //  Press push 2 to end
 //
 //  Tested on msp430g2452
-//  Binary sketch size = 6884 bytes out of 8192 bytes
+//  Binary sketch size = 2978 bytes out of 8192 bytes
 //
 
 #include "Wire.h"


  Wire.endTransmission(); 
  if (t>0b100000000000) t -= 4096;
  return t*0.0625;
}


void loop() 
{
  mySerial.print(getTemperature(), 2);
  mySerial.print("\n");

  delay(500);

  // required to avoid USB freeze for next upload
  if (digitalRead(PUSH2)==LOW) {
    mySerial.print("\n\n*** End\n"); 
    mySerial.end();
    while(true); // endless loop
  }
}



  Wire.begin();
}

int16_t t;

void loop() {
  Wire.beginTransmission(_address); 
  Wire.write(0b00000000);      
  Wire.endTransmission(); 
