   float celcius = tempData - 273.15;
   float fahrenheit = (celcius*1.8) + 32;
   
-  //if (Serial) {
-    // Print fahrenheit value.
-    // Serial.println(fahrenheit);
-  //}
-  
-  //if (fahrenheit > 79.f)
-  //  digitalWrite(ledPin, HIGH);
-  //else
-  //  digitalWrite(ledPin, LOW);
-
   return fahrenheit;
 }
 

  display.write('e');
  display.write('s');
  display.write('t');
  display.write(0x77);
  display.write(0b00010000);
  
  i2c_init(); //Initialise the i2c bus
  PORTC = (1 << PORTC4) | (1 << PORTC5);//enable pullups

  //pinMode(ledPin, OUTPUT);
  pinMode(mphonePin, INPUT);
  pinMode(buzzPin, OUTPUT);
}

float readTemp(){


SoftwareSerial display(8, 9);

int mphonePin = 0;
int buzzPin = 10;
int cycle = 0, vol = 0;
double temp = 0, ref = 0;
boolean flash = false, sample = false, alarm = false, buzz = LOW;

void setup(){
  Serial.begin(9600);
