CCS PCH C Compiler, Version 4.049, 24802 12-okt-09 11:33 Filename: Current Dodge.lst ROM used: 1176 bytes (4%) Largest free fragment is 31592 RAM used: 9 (0%) at main() level 10 (0%) worst case Stack: 1 locations * 0000: GOTO 002A .................... #include "C:\MentorProjects\Current_Dodge\PIC CODE\Current Dodge.h" .................... #include <18F2550.h> .................... //////// Standard Header file for the PIC18F2550 device //////////////// .................... #device PIC18F2550 .................... #list .................... .................... #device ICD=TRUE .................... #device adc=8 .................... .................... #FUSES NOWDT //No Watch Dog Timer .................... #FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale .................... #FUSES HS //High speed Osc (> 4mhz) .................... #FUSES NOPROTECT //Code not protected from reading .................... #FUSES BROWNOUT //Reset when brownout detected .................... #FUSES BORV20 //Brownout reset at 2.0V .................... #FUSES NOPUT //No Power Up Timer .................... #FUSES NOCPD //No EE protection .................... #FUSES STVREN //Stack full/underflow will cause reset .................... #FUSES NODEBUG //No Debug mode for ICD .................... #FUSES NOLVP //No low voltage prgming, B3(PIC16) or B5(PIC18) used for I/O .................... #FUSES NOWRT //Program memory not write protected .................... #FUSES NOWRTD //Data EEPROM not write protected .................... #FUSES IESO //Internal External Switch Over mode enabled .................... #FUSES FCMEN //Fail-safe clock monitor enabled .................... #FUSES NOPBADEN //PORTB pins are configured as digital I/O on RESET .................... #FUSES NOWRTC //configuration not registers write protected .................... #FUSES NOWRTB //Boot block not write protected .................... #FUSES NOEBTR //Memory not protected from table reads .................... #FUSES NOEBTRB //Boot block not protected from table reads .................... #FUSES NOCPB //No Boot Block code protection .................... #FUSES MCLR //Master Clear pin enabled .................... #FUSES RESERVED //Used to set the reserved FUSE bits .................... #FUSES NOXINST //Extended set extension and Indexed Addressing mode disabled (Legacy mode) .................... #FUSES PLL12 //Divide By 12(48MHz oscillator input) .................... #FUSES CPUDIV4 //System Clock by 4 .................... #FUSES NOUSBDIV //USB clock source comes from primary oscillator .................... #FUSES NOVREGEN //USB voltage regulator disabled .................... .................... #use delay(clock=20000000) 0004: CLRF FEA 0006: MOVLW 0A 0008: MOVWF FE9 000A: MOVF FEF,W 000C: BZ 0028 000E: MOVLW 06 0010: MOVWF 01 0012: CLRF 00 0014: DECFSZ 00,F 0016: BRA 0014 0018: DECFSZ 01,F 001A: BRA 0012 001C: MOVLW 7B 001E: MOVWF 00 0020: DECFSZ 00,F 0022: BRA 0020 0024: DECFSZ FEF,F 0026: BRA 000E 0028: RETLW 00 .................... .................... .................... .................... #define LED1 PIN_C0 // RODE LED +50 AMPERE .................... #define LED2 PIN_B4 // GELE LED +40 AMPERE .................... #define LED3 PIN_C2 // GELE LED +30 AMPERE .................... #define LED4 PIN_C3 // GELE LED +20 AMPERE .................... #define LED5 PIN_C4 // GELE LED +10 AMPERE .................... #define LED6 PIN_C5 // GROENE LED 0 AMPERE .................... #define LED7 PIN_C6 // GELE LED -10 AMPERE .................... #define LED8 PIN_C7 // GELE LED -20 AMPERE .................... #define LED9 PIN_B0 // GELE LED -30 AMPERE .................... #define LED10 PIN_B1 // GELE LED -40 AMPERE .................... #define LED11 PIN_B2 // RODE LED -50 AMPERE .................... #define PWM PIN_C1 // PWM OUTPUT .................... .................... .................... void main() .................... { 002A: CLRF FF8 002C: BCF FD0.7 002E: CLRF FEA 0030: CLRF FE9 0032: MOVF FC1,W 0034: ANDLW C0 0036: IORLW 0F 0038: MOVWF FC1 003A: MOVLW 07 003C: MOVWF FB4 .................... int16 Current, PWM_value; .................... setup_adc_ports(AN0_TO_AN1|VSS_VDD); 003E: MOVF FC1,W 0040: ANDLW C0 0042: IORLW 0D 0044: MOVWF FC1 .................... setup_adc(ADC_OFF); 0046: BCF FC2.0 .................... setup_spi(SPI_SS_DISABLED); 0048: BCF FC6.5 004A: BCF F94.7 004C: BSF F93.0 004E: BCF F93.1 0050: MOVLW 01 0052: MOVWF FC6 0054: MOVLW 00 0056: MOVWF FC7 .................... setup_wdt(WDT_OFF); 0058: BCF FD1.0 .................... setup_timer_0(RTCC_INTERNAL); 005A: MOVLW 80 005C: MOVWF FD5 .................... setup_timer_1(T1_DISABLED); 005E: CLRF FCD .................... setup_timer_2(T2_DISABLED,0,1); 0060: MOVLW 00 0062: MOVWF FCA 0064: MOVLW 00 0066: MOVWF FCB .................... setup_timer_3(T3_DISABLED|T3_DIV_BY_1); 0068: MOVF FB1,W 006A: ANDLW 48 006C: MOVWF FB1 .................... setup_ccp2(CCP_PWM); 006E: MOVLW B7 0070: ANDWF FB1,F 0072: BCF F94.1 0074: BCF F8B.1 0076: MOVLW 0C 0078: MOVWF FBA .................... set_pwm2_duty(512); 007A: MOVLW 80 007C: MOVWF FBB 007E: MOVF FBA,W 0080: ANDLW CF 0082: MOVWF FBA .................... setup_comparator(NC_NC_NC_NC); 0084: MOVLW 07 0086: MOVWF FB4 0088: MOVF F92,W 008A: MOVLW 10 008C: MOVWF 00 008E: DECFSZ 00,F 0090: BRA 008E 0092: NOP 0094: MOVF FB4,W 0096: BCF FA1.6 .................... setup_vref(FALSE); 0098: CLRF FB5 .................... .................... .................... While(1) .................... { .................... set_adc_channel(0); 009A: MOVLW 00 009C: MOVWF 01 009E: MOVF FC2,W 00A0: ANDLW C3 00A2: IORWF 01,W 00A4: MOVWF FC2 .................... delay_ms(5); 00A6: MOVLW 05 00A8: MOVWF 0A 00AA: RCALL 0004 .................... Current = read_adc(); 00AC: BSF FC2.1 00AE: BTFSC FC2.1 00B0: BRA 00AE 00B2: MOVF FC4,W 00B4: CLRF 07 00B6: MOVWF 06 .................... set_adc_channel(1); 00B8: MOVLW 04 00BA: MOVWF 01 00BC: MOVF FC2,W 00BE: ANDLW C3 00C0: IORWF 01,W 00C2: MOVWF FC2 .................... delay_ms(5); 00C4: MOVLW 05 00C6: MOVWF 0A 00C8: RCALL 0004 .................... PWM_value = read_adc(); 00CA: BSF FC2.1 00CC: BTFSC FC2.1 00CE: BRA 00CC 00D0: MOVF FC4,W 00D2: CLRF 09 00D4: MOVWF 08 .................... set_pwm2_duty(PWM_value); 00D6: MOVFF 09,02 00DA: MOVFF 08,01 00DE: RRCF 02,F 00E0: RRCF 01,F 00E2: RRCF 02,F 00E4: RRCF 01,F 00E6: RRCF 02,F 00E8: MOVFF 01,FBB 00EC: RRCF 02,F 00EE: RRCF 02,W 00F0: ANDLW 30 00F2: MOVWF 00 00F4: MOVF FBA,W 00F6: ANDLW CF 00F8: IORWF 00,W 00FA: MOVWF FBA .................... if((Current > 0) && (Current < 23)) { Current = 0;}; 00FC: MOVF 06,F 00FE: BNZ 0104 0100: MOVF 07,F 0102: BZ 0112 0104: MOVF 07,F 0106: BNZ 0112 0108: MOVF 06,W 010A: SUBLW 16 010C: BNC 0112 010E: CLRF 07 0110: CLRF 06 .................... if((Current > 23) && (Current < 46)) { Current = 25;}; 0112: MOVF 07,F 0114: BNZ 011C 0116: MOVF 06,W 0118: SUBLW 17 011A: BC 012C 011C: MOVF 07,F 011E: BNZ 012C 0120: MOVF 06,W 0122: SUBLW 2D 0124: BNC 012C 0126: CLRF 07 0128: MOVLW 19 012A: MOVWF 06 .................... if((Current > 46) && (Current < 69)) { Current = 50;}; 012C: MOVF 07,F 012E: BNZ 0136 0130: MOVF 06,W 0132: SUBLW 2E 0134: BC 0146 0136: MOVF 07,F 0138: BNZ 0146 013A: MOVF 06,W 013C: SUBLW 44 013E: BNC 0146 0140: CLRF 07 0142: MOVLW 32 0144: MOVWF 06 .................... if((Current > 69) && (Current < 93)) { Current = 75;}; 0146: MOVF 07,F 0148: BNZ 0150 014A: MOVF 06,W 014C: SUBLW 45 014E: BC 0160 0150: MOVF 07,F 0152: BNZ 0160 0154: MOVF 06,W 0156: SUBLW 5C 0158: BNC 0160 015A: CLRF 07 015C: MOVLW 4B 015E: MOVWF 06 .................... if((Current > 93) && (Current < 116)) { Current = 100;}; 0160: MOVF 07,F 0162: BNZ 016A 0164: MOVF 06,W 0166: SUBLW 5D 0168: BC 017A 016A: MOVF 07,F 016C: BNZ 017A 016E: MOVF 06,W 0170: SUBLW 73 0172: BNC 017A 0174: CLRF 07 0176: MOVLW 64 0178: MOVWF 06 .................... if((Current > 116) && (Current < 139)) { Current = 125;}; 017A: MOVF 07,F 017C: BNZ 0184 017E: MOVF 06,W 0180: SUBLW 74 0182: BC 0194 0184: MOVF 07,F 0186: BNZ 0194 0188: MOVF 06,W 018A: SUBLW 8A 018C: BNC 0194 018E: CLRF 07 0190: MOVLW 7D 0192: MOVWF 06 .................... if((Current > 139) && (Current < 163)) { Current = 150;}; 0194: MOVF 07,F 0196: BNZ 019E 0198: MOVF 06,W 019A: SUBLW 8B 019C: BC 01AE 019E: MOVF 07,F 01A0: BNZ 01AE 01A2: MOVF 06,W 01A4: SUBLW A2 01A6: BNC 01AE 01A8: CLRF 07 01AA: MOVLW 96 01AC: MOVWF 06 .................... if((Current > 163) && (Current < 186)) { Current = 175;}; 01AE: MOVF 07,F 01B0: BNZ 01B8 01B2: MOVF 06,W 01B4: SUBLW A3 01B6: BC 01C8 01B8: MOVF 07,F 01BA: BNZ 01C8 01BC: MOVF 06,W 01BE: SUBLW B9 01C0: BNC 01C8 01C2: CLRF 07 01C4: MOVLW AF 01C6: MOVWF 06 .................... if((Current > 186) && (Current < 209)) { Current = 200;}; 01C8: MOVF 07,F 01CA: BNZ 01D2 01CC: MOVF 06,W 01CE: SUBLW BA 01D0: BC 01E2 01D2: MOVF 07,F 01D4: BNZ 01E2 01D6: MOVF 06,W 01D8: SUBLW D0 01DA: BNC 01E2 01DC: CLRF 07 01DE: MOVLW C8 01E0: MOVWF 06 .................... if((Current > 209) && (Current < 233)) { Current = 225;}; 01E2: MOVF 07,F 01E4: BNZ 01EC 01E6: MOVF 06,W 01E8: SUBLW D1 01EA: BC 01FC 01EC: MOVF 07,F 01EE: BNZ 01FC 01F0: MOVF 06,W 01F2: SUBLW E8 01F4: BNC 01FC 01F6: CLRF 07 01F8: MOVLW E1 01FA: MOVWF 06 .................... if((Current > 233) && (Current < 255)) { Current = 250;}; 01FC: MOVF 07,F 01FE: BNZ 0206 0200: MOVF 06,W 0202: SUBLW E9 0204: BC 0216 0206: MOVF 07,F 0208: BNZ 0216 020A: MOVF 06,W 020C: SUBLW FE 020E: BNC 0216 0210: CLRF 07 0212: MOVLW FA 0214: MOVWF 06 .................... .................... switch(Current) .................... { 0216: MOVFF 06,00 021A: MOVF 07,W 021C: MOVWF 03 021E: BNZ 0224 0220: MOVF 00,F 0222: BZ 029A 0224: MOVF 03,W 0226: BNZ 022E 0228: MOVLW 19 022A: SUBWF 00,W 022C: BZ 02C8 022E: MOVF 03,W 0230: BNZ 0238 0232: MOVLW 32 0234: SUBWF 00,W 0236: BZ 02F6 0238: MOVF 03,W 023A: BNZ 0244 023C: MOVLW 4B 023E: SUBWF 00,W 0240: BTFSC FD8.2 0242: BRA 0324 0244: MOVF 03,W 0246: BNZ 0250 0248: MOVLW 64 024A: SUBWF 00,W 024C: BTFSC FD8.2 024E: BRA 0352 0250: MOVF 03,W 0252: BNZ 025C 0254: MOVLW 7D 0256: SUBWF 00,W 0258: BTFSC FD8.2 025A: BRA 0380 025C: MOVF 03,W 025E: BNZ 0268 0260: MOVLW 96 0262: SUBWF 00,W 0264: BTFSC FD8.2 0266: BRA 03AE 0268: MOVF 03,W 026A: BNZ 0274 026C: MOVLW AF 026E: SUBWF 00,W 0270: BTFSC FD8.2 0272: BRA 03DC 0274: MOVF 03,W 0276: BNZ 0280 0278: MOVLW C8 027A: SUBWF 00,W 027C: BTFSC FD8.2 027E: BRA 040A 0280: MOVF 03,W 0282: BNZ 028C 0284: MOVLW E1 0286: SUBWF 00,W 0288: BTFSC FD8.2 028A: BRA 0438 028C: MOVF 03,W 028E: BNZ 0298 0290: MOVLW FA 0292: SUBWF 00,W 0294: BTFSC FD8.2 0296: BRA 0466 0298: BRA 0494 .................... case 0: .................... output_high(LED1); 029A: BCF F94.0 029C: BSF F8B.0 .................... output_high(LED2); 029E: BCF F93.4 02A0: BSF F8A.4 .................... output_high(LED3); 02A2: BCF F94.2 02A4: BSF F8B.2 .................... output_high(LED4); 02A6: BCF F94.3 02A8: BSF F8B.3 .................... output_high(LED5); 02AA: BCF F94.4 02AC: BSF F8B.4 .................... output_high(LED6); 02AE: BCF F94.5 02B0: BSF F8B.5 .................... output_low(LED7); 02B2: BCF F94.6 02B4: BCF F8B.6 .................... output_low(LED8); 02B6: BCF F94.7 02B8: BCF F8B.7 .................... output_low(LED9); 02BA: BCF F93.0 02BC: BCF F8A.0 .................... output_low(LED10); 02BE: BCF F93.1 02C0: BCF F8A.1 .................... output_low(LED11); 02C2: BCF F93.2 02C4: BCF F8A.2 .................... break; 02C6: BRA 0494 .................... case 25: .................... output_low(LED1); 02C8: BCF F94.0 02CA: BCF F8B.0 .................... output_high(LED2); 02CC: BCF F93.4 02CE: BSF F8A.4 .................... output_high(LED3); 02D0: BCF F94.2 02D2: BSF F8B.2 .................... output_high(LED4); 02D4: BCF F94.3 02D6: BSF F8B.3 .................... output_high(LED5); 02D8: BCF F94.4 02DA: BSF F8B.4 .................... output_high(LED6); 02DC: BCF F94.5 02DE: BSF F8B.5 .................... output_low(LED7); 02E0: BCF F94.6 02E2: BCF F8B.6 .................... output_low(LED8); 02E4: BCF F94.7 02E6: BCF F8B.7 .................... output_low(LED9); 02E8: BCF F93.0 02EA: BCF F8A.0 .................... output_low(LED10); 02EC: BCF F93.1 02EE: BCF F8A.1 .................... output_low(LED11); 02F0: BCF F93.2 02F2: BCF F8A.2 .................... break; 02F4: BRA 0494 .................... case 50: .................... output_low(LED1); 02F6: BCF F94.0 02F8: BCF F8B.0 .................... output_low(LED2); 02FA: BCF F93.4 02FC: BCF F8A.4 .................... output_high(LED3); 02FE: BCF F94.2 0300: BSF F8B.2 .................... output_high(LED4); 0302: BCF F94.3 0304: BSF F8B.3 .................... output_high(LED5); 0306: BCF F94.4 0308: BSF F8B.4 .................... output_high(LED6); 030A: BCF F94.5 030C: BSF F8B.5 .................... output_low(LED7); 030E: BCF F94.6 0310: BCF F8B.6 .................... output_low(LED8); 0312: BCF F94.7 0314: BCF F8B.7 .................... output_low(LED9); 0316: BCF F93.0 0318: BCF F8A.0 .................... output_low(LED10); 031A: BCF F93.1 031C: BCF F8A.1 .................... output_low(LED11); 031E: BCF F93.2 0320: BCF F8A.2 .................... break; 0322: BRA 0494 .................... case 75: .................... output_low(LED1); 0324: BCF F94.0 0326: BCF F8B.0 .................... output_low(LED2); 0328: BCF F93.4 032A: BCF F8A.4 .................... output_low(LED3); 032C: BCF F94.2 032E: BCF F8B.2 .................... output_high(LED4); 0330: BCF F94.3 0332: BSF F8B.3 .................... output_high(LED5); 0334: BCF F94.4 0336: BSF F8B.4 .................... output_high(LED6); 0338: BCF F94.5 033A: BSF F8B.5 .................... output_low(LED7); 033C: BCF F94.6 033E: BCF F8B.6 .................... output_low(LED8); 0340: BCF F94.7 0342: BCF F8B.7 .................... output_low(LED9); 0344: BCF F93.0 0346: BCF F8A.0 .................... output_low(LED10); 0348: BCF F93.1 034A: BCF F8A.1 .................... output_low(LED11); 034C: BCF F93.2 034E: BCF F8A.2 .................... break; 0350: BRA 0494 .................... case 100: .................... output_low(LED1); 0352: BCF F94.0 0354: BCF F8B.0 .................... output_low(LED2); 0356: BCF F93.4 0358: BCF F8A.4 .................... output_low(LED3); 035A: BCF F94.2 035C: BCF F8B.2 .................... output_low(LED4); 035E: BCF F94.3 0360: BCF F8B.3 .................... output_high(LED5); 0362: BCF F94.4 0364: BSF F8B.4 .................... output_high(LED6); 0366: BCF F94.5 0368: BSF F8B.5 .................... output_low(LED7); 036A: BCF F94.6 036C: BCF F8B.6 .................... output_low(LED8); 036E: BCF F94.7 0370: BCF F8B.7 .................... output_low(LED9); 0372: BCF F93.0 0374: BCF F8A.0 .................... output_low(LED10); 0376: BCF F93.1 0378: BCF F8A.1 .................... output_low(LED11); 037A: BCF F93.2 037C: BCF F8A.2 .................... break; 037E: BRA 0494 .................... case 125: .................... output_low(LED1); 0380: BCF F94.0 0382: BCF F8B.0 .................... output_low(LED2); 0384: BCF F93.4 0386: BCF F8A.4 .................... output_low(LED3); 0388: BCF F94.2 038A: BCF F8B.2 .................... output_low(LED4); 038C: BCF F94.3 038E: BCF F8B.3 .................... output_low(LED5); 0390: BCF F94.4 0392: BCF F8B.4 .................... output_high(LED6); 0394: BCF F94.5 0396: BSF F8B.5 .................... output_low(LED7); 0398: BCF F94.6 039A: BCF F8B.6 .................... output_low(LED8); 039C: BCF F94.7 039E: BCF F8B.7 .................... output_low(LED9); 03A0: BCF F93.0 03A2: BCF F8A.0 .................... output_low(LED10); 03A4: BCF F93.1 03A6: BCF F8A.1 .................... output_low(LED11); 03A8: BCF F93.2 03AA: BCF F8A.2 .................... break; 03AC: BRA 0494 .................... case 150: .................... output_low(LED1); 03AE: BCF F94.0 03B0: BCF F8B.0 .................... output_low(LED2); 03B2: BCF F93.4 03B4: BCF F8A.4 .................... output_low(LED3); 03B6: BCF F94.2 03B8: BCF F8B.2 .................... output_low(LED4); 03BA: BCF F94.3 03BC: BCF F8B.3 .................... output_low(LED5); 03BE: BCF F94.4 03C0: BCF F8B.4 .................... output_high(LED6); 03C2: BCF F94.5 03C4: BSF F8B.5 .................... output_high(LED7); 03C6: BCF F94.6 03C8: BSF F8B.6 .................... output_low(LED8); 03CA: BCF F94.7 03CC: BCF F8B.7 .................... output_low(LED9); 03CE: BCF F93.0 03D0: BCF F8A.0 .................... output_low(LED10); 03D2: BCF F93.1 03D4: BCF F8A.1 .................... output_low(LED11); 03D6: BCF F93.2 03D8: BCF F8A.2 .................... break; 03DA: BRA 0494 .................... case 175: .................... output_low(LED1); 03DC: BCF F94.0 03DE: BCF F8B.0 .................... output_low(LED2); 03E0: BCF F93.4 03E2: BCF F8A.4 .................... output_low(LED3); 03E4: BCF F94.2 03E6: BCF F8B.2 .................... output_low(LED4); 03E8: BCF F94.3 03EA: BCF F8B.3 .................... output_low(LED5); 03EC: BCF F94.4 03EE: BCF F8B.4 .................... output_high(LED6); 03F0: BCF F94.5 03F2: BSF F8B.5 .................... output_high(LED7); 03F4: BCF F94.6 03F6: BSF F8B.6 .................... output_high(LED8); 03F8: BCF F94.7 03FA: BSF F8B.7 .................... output_low(LED9); 03FC: BCF F93.0 03FE: BCF F8A.0 .................... output_low(LED10); 0400: BCF F93.1 0402: BCF F8A.1 .................... output_low(LED11); 0404: BCF F93.2 0406: BCF F8A.2 .................... break; 0408: BRA 0494 .................... case 200: .................... output_low(LED1); 040A: BCF F94.0 040C: BCF F8B.0 .................... output_low(LED2); 040E: BCF F93.4 0410: BCF F8A.4 .................... output_low(LED3); 0412: BCF F94.2 0414: BCF F8B.2 .................... output_low(LED4); 0416: BCF F94.3 0418: BCF F8B.3 .................... output_low(LED5); 041A: BCF F94.4 041C: BCF F8B.4 .................... output_high(LED6); 041E: BCF F94.5 0420: BSF F8B.5 .................... output_high(LED7); 0422: BCF F94.6 0424: BSF F8B.6 .................... output_high(LED8); 0426: BCF F94.7 0428: BSF F8B.7 .................... output_high(LED9); 042A: BCF F93.0 042C: BSF F8A.0 .................... output_low(LED10); 042E: BCF F93.1 0430: BCF F8A.1 .................... output_low(LED11);; 0432: BCF F93.2 0434: BCF F8A.2 .................... break; 0436: BRA 0494 .................... case 225: .................... output_low(LED1); 0438: BCF F94.0 043A: BCF F8B.0 .................... output_low(LED2); 043C: BCF F93.4 043E: BCF F8A.4 .................... output_low(LED3); 0440: BCF F94.2 0442: BCF F8B.2 .................... output_low(LED4); 0444: BCF F94.3 0446: BCF F8B.3 .................... output_low(LED5); 0448: BCF F94.4 044A: BCF F8B.4 .................... output_high(LED6); 044C: BCF F94.5 044E: BSF F8B.5 .................... output_high(LED7); 0450: BCF F94.6 0452: BSF F8B.6 .................... output_high(LED8); 0454: BCF F94.7 0456: BSF F8B.7 .................... output_high(LED9); 0458: BCF F93.0 045A: BSF F8A.0 .................... output_high(LED10); 045C: BCF F93.1 045E: BSF F8A.1 .................... output_low(LED11); 0460: BCF F93.2 0462: BCF F8A.2 .................... break; 0464: BRA 0494 .................... case 250: .................... output_low(LED1); 0466: BCF F94.0 0468: BCF F8B.0 .................... output_low(LED2); 046A: BCF F93.4 046C: BCF F8A.4 .................... output_low(LED3); 046E: BCF F94.2 0470: BCF F8B.2 .................... output_low(LED4); 0472: BCF F94.3 0474: BCF F8B.3 .................... output_low(LED5); 0476: BCF F94.4 0478: BCF F8B.4 .................... output_high(LED6); 047A: BCF F94.5 047C: BSF F8B.5 .................... output_high(LED7); 047E: BCF F94.6 0480: BSF F8B.6 .................... output_high(LED8); 0482: BCF F94.7 0484: BSF F8B.7 .................... output_high(LED9); 0486: BCF F93.0 0488: BSF F8A.0 .................... output_high(LED10); 048A: BCF F93.1 048C: BSF F8A.1 .................... output_high(LED11); 048E: BCF F93.2 0490: BSF F8A.2 .................... break; 0492: BRA 0494 .................... } .................... } 0494: BRA 009A .................... } 0496: BRA 0496 Configuration Fuses: Word 1: 043F EC_IO NOIESO NOFCMEN PLL12 CPUDIV4 USBDIV Word 2: 0E19 NOBROWNOUT WDT128 NOWDT BORV20 NOPUT NOVREGEN RESERVED Word 3: 8100 NOPBADEN CCP2C1 MCLR NOLPT1OSC RESERVED Word 4: 0000 NOSTVREN DEBUG NOLVP NOXINST RESERVED Word 5: C00F NOPROTECT NOCPD NOCPB Word 6: E00F NOWRT NOWRTD NOWRTC NOWRTB Word 7: 400F NOEBTR NOEBTRB