Rev 3614 Rev 3617
Line 1... Line 1...
1 #include <18F4550.h> 1 #include <18F4550.h>
2 #device adc=8 2 #device adc=8
3   3  
4 #FUSES NOWDT //No Watch Dog Timer 4 #FUSES NOWDT //No Watch Dog Timer
5 #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale 5 #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
6 #FUSES HS //High speed Osc (> 4mhz for PCM/PCH) (>10mhz for PCD) 6 #FUSES INTRC
7 #FUSES NOPROTECT //Code not protected from reading 7 #FUSES NOPROTECT //Code not protected from reading
8 #FUSES NOBROWNOUT //No brownout reset 8 #FUSES NOBROWNOUT //No brownout reset
9 #FUSES BORV20 //Brownout reset at 2.0V 9 #FUSES BORV20 //Brownout reset at 2.0V
10 #FUSES PUT //Power Up Timer 10 #FUSES PUT //Power Up Timer
11 #FUSES NOCPD //No EE protection 11 #FUSES NOCPD //No EE protection
Line 29... Line 29...
29 #FUSES CPUDIV1 //System Clock by 4 29 #FUSES CPUDIV1 //System Clock by 4
30 //#FUSES NOUSBDIV //USB clock source comes from primary oscillator 30 //#FUSES NOUSBDIV //USB clock source comes from primary oscillator
31 //#FUSES NOVREGEN //USB voltage regulator disabled 31 //#FUSES NOVREGEN //USB voltage regulator disabled
32 //#FUSES NOICPRT //ICPRT disabled 32 //#FUSES NOICPRT //ICPRT disabled
33   33  
34 #use delay(clock=20000000) 34 #use delay(clock=8000000)
35   35