Quote Originally Posted by dhouston View Post
Full-wave rectification of what? You said you were using an external power supply.

Numerous people have used the circuits in that appnote to control triac dimmers using the X10 powerline protocol.
Full wave rectification of mains, I needed it for Zero-Crossing of mains. External power supply only provides 12V to my circuit. I checked the X-10 circuit but it has it's own transformer-less power supply and from there direct resistance is coming for Zero-crossing without any sort of rectification. I don't know much about X-10 so I am sorry if there is something I missed which you were trying to point out.

Anyways, since I have modified the code now the problem is of flickering of the bulb. Any comments about could be wrong?