Line 12... |
Line 12... |
12 |
#FUSES NODEBUG //No Debug mode for ICD |
12 |
#FUSES NODEBUG //No Debug mode for ICD |
13 |
#FUSES NOPROTECT //Code not protected from reading |
13 |
#FUSES NOPROTECT //Code not protected from reading |
14 |
#FUSES NOFCMEN //Fail-safe clock monitor disabled |
14 |
#FUSES NOFCMEN //Fail-safe clock monitor disabled |
15 |
#FUSES NOIESO //Internal External Switch Over mode disabled |
15 |
#FUSES NOIESO //Internal External Switch Over mode disabled |
16 |
|
16 |
|
17 |
#use delay(clock=4000000) |
17 |
#use delay(clock=8000000) |
18 |
#use rs232(baud=2400,parity=N,xmit=PIN_B5,rcv=PIN_B2,bits=8)//,FORCE_SW) |
18 |
#use rs232(baud=2400,parity=N,xmit=PIN_B5,rcv=PIN_B2,bits=8)//,FORCE_SW) |
19 |
//#use i2c(MASTER,SLOW,sda=PIN_B1,scl=PIN_B0,SMBUS) |
19 |
//#use i2c(MASTER,SLOW,sda=PIN_B1,scl=PIN_B0,SMBUS) |
20 |
|
20 |
|