IF FOR loop problem getting my resistors burnt

Status
Not open for further replies.

ishtiaqshaheer

New Member
(I'm not very much good at coding)

When I'm using this Dimmer Code then its working fine even for a long time and nothing is getting burnt nor heated up.

when the code enters into if() loop only at that time my resistor burnt 2 times.
so it is due to zero cross detection isn't happening due to interrupts.(since onReceive() is an ISR & even dim_zero_crosss_int is also an ISR)

Thanks , I've uploaded programs as well as proteus circuits too.
Will be waiting for a solution
Thanks in advance
 

Attachments

  • Programs & Proteus designs.zip
    94.2 KB · Views: 246
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…