Advertisement
RuiViana

Untitled

Jan 21st, 2016
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <16F877A.h>
  2. #device ADC=16
  3. #use delay(crystal=8000000)
  4.  
  5. #use delay (clock=8000000)
  6.  
  7. void main()
  8. {
  9. while(TRUE)
  10. {
  11. output_high(PIN_A5);
  12. delay_ms(1000);
  13. output_low(PIN_A5);
  14. delay_ms(1000);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement