Jump to content

Hummel

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hummel

  • Rank
    Newbrie
  1. Bug description: The debugger do not recognize an external interrupt activated by a button plugin (reproduceable). The MPLAB simulator activates the interrupt. Is this a bug of the debugger? Button config: PortB, Pin 0 PicAntIDE version: PicAndIDE 5.0 Compiler: C2C-plus Compiler version: 5.0e OS: Windows 2000 void interrupt( void ) { // Never reached this line... portb = 23; clear_bit( INTCON, INTF); //clear external Interrupt } void main(void) { option_reg = Bit(INTEDG); //interrupt on rising edge trisb = 0x01; portb = 0; enable_interrupt( INTE ); //enable external Interrupt enable_interrupt( GIE ); while(1); //endless loop }
×