Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define __16f88
- #include "pic/pic16f88.h"
- #include "bitop.h"
- typedef unsigned int config;
- config at 0x2007 __CONFIG = _CP_OFF &
- _WDT_OFF &
- _BODEN_OFF &
- _PWRTE_OFF &
- _INTRC_IO &
- _MCLR_ON &
- _LVP_OFF;
- void main(void) {
- //initialize the ports
- TRISA=0x00;
- PORTA=0x00;
- TRISB=0x00;
- PORTB=0x00;
- while(1) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement