Skip to content

Instantly share code, notes, and snippets.

@alex81632
Created September 23, 2018 00:27
Show Gist options
  • Save alex81632/d42cadb32d657556cbeccd69555ff11d to your computer and use it in GitHub Desktop.
Save alex81632/d42cadb32d657556cbeccd69555ff11d to your computer and use it in GitHub Desktop.
int tempo = millis();
int delay = 1000; //Tempo de delay em ms
while(millis()-tempo<delay){
//executar o código
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment