SHARE
TWEET

solarwind

a guest Mar 8th, 2009 275 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef _16F690_TEST1_H
  2. #define _16F690_TEST1_H
  3.  
  4. #include <16F690.h>
  5. #device adc=10
  6.  
  7. #FUSES NOWDT                     //No Watch Dog Timer
  8. #FUSES INTRC_IO                  //Internal RC Osc, no CLKOUT
  9. #FUSES NOPROTECT                 //Code not protected from reading
  10. #FUSES NOBROWNOUT                //No brownout reset
  11. #FUSES NOMCLR                    //Master Clear pin used for I/O
  12. #FUSES NOCPD                     //No EE protection
  13. #FUSES PUT                       //Power Up Timer
  14. #FUSES IESO                      //Internal External Switch Over mode enabled
  15. #FUSES FCMEN                     //Fail-safe clock monitor enabled
  16.  
  17. #use delay(clock=8000000)
  18. #use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)
  19.  
  20. #endif /* _16F690_TEST1_H */
RAW Paste Data
Want to get better at C?
Learn to code C in 2017
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top