Thanks, Webbot, I can now control my external LED's. (I love the designer BTW)
But, how do I set the controller not to start running the program until I press the button.
I can see this code, but I don't understand how it works. In anycase my bot starts the programme as soon as it is switched on at the battery.
// -------- Start Switch/Button-------
// Switch/Button - see switch.h
// To test if it is pressed then
if(SWITCH_pressed(&button)){
// pressed
}
// To test if it is released then
if(SWITCH_released(&button)){
// released
}
// -------- End Switch/Button-------
Thanks.