// radio
radio = new CC1000Radio(mcu, MAIN_HZ * 2);
addDevice("radio", radio);
// sensor board
sensorboard = new SensorBoard(sim);
// external flash
externalFlash = new ExternalFlash(mcu);
// light sensor
AtmelMicrocontroller amcu = (AtmelMicrocontroller)mcu;
lightSensor = new LightSensor(amcu, 1, "PC2", "PE5");