Is it OK to run functions and for () functions inside various cases of a switch structure ?
These functions redtens (); zero(); and one(); all run OK on their own, but the code just doesn't run the switch statement.... heres a bit of the code:-
break;
case 2:
//////////////////////////////////// send all this 4 times with pilot and sync bit
for ( int n =0; n>=3; n++ ){
redtens (); // sends tile and customer number for red tens
zero();
one();
zero();
zero();
digitalWrite(dataPin, LOW );
break;
case 3: