   byte addr[8];
   
   if ( !ds.search(addr)) {
+      //We have read all the temp sensors
       Serial.print("0 No more addresses.\n");
       ds.reset_search();
       delay(250);
+      //Read and send light level
       int light = analogRead(A0);
       Serial.print("2 0 ");
       Serial.print(light,DEC);

  Serial.print(" ");
}

void loop(void) {
  byte i;
  byte present = 0;

      return;
  }

  //decode and send temperature
  float t = ((data[0] & 0xfe) + 256*data[1])/2.0
           - 0.25 + (16-data[6])/16.0;
  Serial.print("1 ");//this is temp
  pa(addr);
  Serial.print(t);
  //end of the line
  Serial.print("\n");
}

