How to run a loop a set number of times?
Hello C Board! or should I say "Hello World" ok that was uncalled for sorry:)
Anyways, I'm a EE trying to pedal my way through C for a project I'm working on (build guitars for a living and am rigging up a pickup winder program that drives a stepper.
Anyways, I have a loop that I'd like to run a set number of times is there a way I can do this say 3 times and then proceed to the rest of the program?
for(pos = 76; pos < 101; pos += 1)
for(pos = 102; pos>=79; pos-=1)
delay(8); // 83-95 #4