You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

blink.cpp 205B

123456789101112
  1. #include <wiringPi.h>
  2. int main (void)
  3. {
  4. wiringPiSetup () ;
  5. pinMode (0, OUTPUT) ;
  6. for (;;)
  7. {
  8. digitalWrite (0, HIGH) ; delay (500) ;
  9. digitalWrite (0, LOW) ; delay (500) ;
  10. }
  11. return 0 ;
  12. }