   
   setupPorts();
   setupLeds();
+  setupRadio();
   setupSensors();
 }
 

#include <LowPower.h>
#include <Reading.h>
#include "Sensors.h"

#define SERIAL     1
#define DEBUG      1
#define BAUD_RATE  9600

#define VERSION    "v0.1"

const int MOTE_LED_PIN = 9;
const int EXTR_LED_PIN = 13;

Sensors* sensors;
SensorData* sensorData;


//-----------------------------------------------------------------------------

  digitalWrite(EXTR_LED_PIN, LOW);  
}

void setupRadio() {
  #if DEBUG
    Serial.print("setup radio...");
  #endif
  
  radio.initialize(FREQUENCY,NODEID,NETWORKID);
  radio.setHighPower();
  delay(1000);
  
  #if DEBUG
    Serial.println("ok!");
  #endif
}

void setupSensors() {
  sensors = new Sensors();
  sensorData = new SensorData();
