throw new EmulationException("Could not setup mote - missing USART0");
}
radio = new TR1001(cpu, usart0);
leds = new Leds(cpu, LEDS);
button = new Button("Button", cpu, port2, BUTTON_PIN, true);
beeper = new Beeper(cpu);
USART usart = cpu.getIOUnit(USART.class, "USART1");
if (usart != null) {
registry.registerComponent("serialio", usart);