Device 16F876A ;microcontroller Config INTRC_OSC_NOCLKOUT, WDT_OFF, PWRTE_ON, LVP_OFF ;configuratie ALL_DIGITAL TRUE ;Alle ingangen digitaal ;76543210 PORTA = %000000 ;poortjes instellen PORTB = %00000000 PORTC = %00000000 TRISA = %111111 TRISB = %01110110 TRISC = %10001110 Symbol sec10 = PORTB.6 Symbol sec20 = PORTB.5 Symbol sec30 = PORTB.4 Symbol sec40 = PORTB.2 Symbol sec50 = PORTB.1 Symbol min1 = PORTA.0 Symbol min2 = PORTA.1 Symbol min3 = PORTA.2 Symbol min4 = PORTA.4 Symbol min5 = PORTA.5 Symbol min6 = PORTA.3 Symbol min7 = PORTC.3 Symbol min8 = PORTC.1 Symbol min9 = PORTC.2 Symbol relais = PORTC.7 Symbol minknop = PORTC.6 Symbol secknop = PORTC.5 hoofdprogram: End