Advertisement
Atdiy

Untitled

Aug 18th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. /*
  2. Blink Light.c
  3.  
  4. Blink light circuit!
  5. */
  6.  
  7. #include "simpletools.h" // Include simpletools
  8.  
  9. int main() // main function
  10. {
  11. while(1) // Endless loop
  12. {
  13. high(0);
  14. high(2);
  15. low(3);
  16. pause(40);
  17. low(0);
  18. low(2);
  19. high(3);
  20. pause(80);
  21. low(3);
  22. high(1);
  23. pause(40);
  24. low(1);
  25. pause(600);
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement