Skip to content
Snippets Groups Projects
Commit b1e02365 authored by 이장원's avatar 이장원
Browse files

8.10

parent 76f4fd40
Branches
No related tags found
No related merge requests found
File added
#include <stdio.h>
#include <wiringPi.h>
// gcc test.c -lwiringPi
int main()
{
int i;
if (wiringPiSetup() == -1)
return -1;
pinMode(29, OUTPUT);
for (i = 0; i < 5; i++)
{
digitalWrite(29, 1);
delay(500);
digitalWrite(29, 0);
delay(500);
}
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment