??? 01/19/07 13:35 Read: times |
#131100 - Have tried out the suggestions! Responding to: ???'s previous message |
Hi everyone!
Thanks a ton for the feedback! Reconnected the opto-coupler (pin 5 to P3.3 & pin 4 to grnd - thanks Stefan)- the interrupt is working and I get the output at the output pin P1.7. I viewed both the waveforms on a CRO- the pulsating DC (o/p of the bridge) and the output of P1.7 - but the o/p at p1/7 is not at the exact zero-crossing point. I was thinkhing of measuring the time delay and compensating for it in the code - am I on the right track? The simple solution provided by Purshottam got me excited but after reading the link and the other comments am wary. Rishi |