hi guys,
just a quick question, am i able to use an if statement or a while loop inside a function or will the microcontroller get confused?
for example:
Mod edit: code tags
just a quick question, am i able to use an if statement or a while loop inside a function or will the microcontroller get confused?
for example:
C:
void function() {
while(1){
differentfunction();
step--;
if(step==0)
reset();
}
}
Last edited by a moderator: