??? 11/24/04 13:56 Read: times |
#81847 - external interrupt Responding to: ???'s previous message |
hi,
I have modified my program and with modified version I am not using external interrupt for zero cross detection at all. Are you sure? I have looked at that code you provide link to, and see next: if (IE0) //If zero cross detected. { //... IE0=0; //...So then: what do you check with bit IE0? Due datasheets this flag indicates External Interrupt 0 edge flag. If you really do not use external interrupt now so it should be if (P3.2 == 0) or something like that. Regards, Oleg |