Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #define __16f88
  2. #include "pic/pic16f88.h"
  3. #include "bitop.h"
  4.  
  5. typedef unsigned int config;
  6. config at 0x2007 __CONFIG = _CP_OFF &
  7. _WDT_OFF &
  8. _BODEN_OFF &
  9. _PWRTE_OFF &
  10. _INTRC_IO &
  11. _MCLR_ON &
  12. _LVP_OFF;
  13.  
  14. void main(void) {
  15. //initialize the ports
  16. TRISA=0x00;
  17. PORTA=0x00;
  18.  
  19. TRISB=0x00;
  20. PORTB=0x00;
  21. while(1) {
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement