Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created May 21, 2019 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmarr58/ab6f1b3b87aa1c630974e88b08637a4f to your computer and use it in GitHub Desktop.
Save esmarr58/ab6f1b3b87aa1c630974e88b08637a4f to your computer and use it in GitHub Desktop.
#include<wiringPi.h>
int contador = 0;
int main(){
wiringPiSetup();
pinMode(0, OUTPUT);
for(;;){
contador++;
if(contador > 100){
break;
}
else{
digitalWrite(0,HIGH);
delay(500);
digitalWrite(0, LOW);
delay(500);
}
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment