Skip to content

Instantly share code, notes, and snippets.

@kdpatino
Created March 23, 2017 01:48
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 kdpatino/9ac5a38c5af42cc23b2cfe0da592343a to your computer and use it in GitHub Desktop.
Save kdpatino/9ac5a38c5af42cc23b2cfe0da592343a to your computer and use it in GitHub Desktop.
blink.c
#include <wiringPi.h>
int main(void) {
wiringPiSetup();
pinMode(5,OUTPUT) ;
while(1){
digitalWrite (5, HIGH) ; delay(100);
digitalWrite (5, LOW) ; delay(100);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment