1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

IF FOR loop problem getting my resistors burnt

Discussion in 'Arduino' started by ishtiaqshaheer, Mar 20, 2017.

  1. ishtiaqshaheer

    ishtiaqshaheer New Member

    Mar 20, 2017
    (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

    Attached Files:

Share This Page