Line 14... |
Line 14... |
14 |
#FUSES NODEBUG //No Debug mode for ICD |
14 |
#FUSES NODEBUG //No Debug mode for ICD |
15 |
#FUSES NOWRT //Program memory not write protected |
15 |
#FUSES NOWRT //Program memory not write protected |
16 |
#FUSES BORV40 //Brownout reset at 4.0V |
16 |
#FUSES BORV40 //Brownout reset at 4.0V |
17 |
|
17 |
|
18 |
#use delay(clock=8000000) |
18 |
#use delay(clock=8000000) |
19 |
#use i2c(master, sda=PIN_C4, scl=PIN_C3) |
19 |
#use i2c(Master,Slow,sda=PIN_C4,scl=PIN_C3) |
20 |
#use rs232(baud=115200,parity=N,xmit=PIN_C7,rcv=PIN_C6,bits=8) //rcv TXD xmit RXD |
20 |
#use rs232(baud=9600,parity=N,xmit=PIN_C7,rcv=PIN_C6,bits=8) //rcv TXD xmit RXD |
21 |
|
21 |
|