Hi guys, I am still working in my free time at that board computer i am tryig to make for my old Lada. I discovered the problem with the interrupt was actually not a real problem but a Proteus VSM emulation problem. You were right ! :) I made the real circuit and now it's ok. My question now is a different one however. I set up the micro i will use (18F2525) to accept interrupts on change from PORTB. When i try to use RB4 i get absolutely nothing, no interrupt. When i use RB5 to RB7 everything goes as planned. I set in configuration bits to have RB4-7 set as digital inputs. I have this setup : ADCON0 = 0; //disable ADC ADCON1 = 0x0F; //all AN1-AN12 are digital inputs TRISB = 0xFF; //PORTB bits are input PORTB = 0; LATB = 0; //clear latches INTCON = 0x28; //disable global and enable TMR0 interrupt and RB INTCON2 = 0x85; //TMR0 high priority INTCON3 = 0x00; //Disable external interrupts RCONbits.IPEN = 1; //enable priority levels INTCONbits.GIEH = 1; //enable interrupts I read the datasheet in PORTB section, in Interrupts section and in ADC section but i cannot find anything to explain my problem. Have you ever bumped into something like this ? Maybe i fried my RB4 pin ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist