Ok i tried this and it works .... Sort of.
"
void loop()
{
{
while (digitalRead(6)==0)
{
delay(10); // debounce
}
}
and the rest of the loop code works.. "
So yes, on powerup it processes my void Setup ()
loads my splash screen
Waits for a push of button 6 -- Yeah
then processes one run of the code, obviously goes back to the start of Void Loop()
and then waits for "the button push again.
I obviously need the void Loop() to continue to loop.....
Can i have a loop in a loop ? is "Goto" an option
Any ideas ? My Basic and Turbo Pascal, and C Programming days are long gone (16 Years ago)