 #endif
   DEBUG_PRINT("Initializing");
 
-  rf12_initialize(2, RF12_915MHZ, 100);
+  rf12_initialize(NODE_ID, RF12_915MHZ, NETGROUP);
 
-  pinMode(DIO4, INPUT);
-  digitalWrite(DIO4, HIGH);  // turn on pull up
+  pinMode(DIO4, INPUT_PULLUP);
 }
 
+
 void loop() {
+  float tempc = 0;
   int door_status_4 = digitalRead(DIO4);
   word payload[4] = {0,0,0,0};
 

  }
#endif

  get_temperature();
  
  DEBUG_PRINT(tempc);

  payload[0] = int(tempc * 100);

  rf12_sleep(RF12_WAKEUP);


  Sleepy::loseSomeTime(60000);
}
