Line 13... |
Line 13... |
13 |
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O |
13 |
#FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O |
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=8MHZ) |
19 |
//#use rs232(baud=9600,parity=N,xmit=PIN_B7,rcv=PIN_B6,bits=8) |
19 |
//#use rs232(baud=9600,parity=N,xmit=PIN_B7,rcv=PIN_B6,bits=8) |
20 |
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,ERRORS) |
20 |
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,ERRORS) |
21 |
|
21 |
|