4 Replies Latest reply on Sep 27, 2015 10:41 AM by dakn_263916

    interrupt handling

    userc_40894
              How ISR work by setting the Flag?? unit32 Flag1 = 0; CY_ISR_PROTO(MyFunction); intmain() { SetHandler (MyFunction) ; } CY_ISR(MyFunction) { Flag1=1u; LIGHT Write(1); CyDelay(200); Flag1=0u; }