??? 01/21/07 15:18 Read: times |
#131187 - Jerson is right Responding to: ???'s previous message |
Rishiraj,
You have error in code. After 3 years You will find this task is trivial, but needs all care as more complex tasks. At start - see int1 - is edge or level(wrong) sensitive. With optocoupler you can find only start of period, not start of 2 semiperiods. Second firing point You must find via timer - 8051 has enough horse power to recalculate default semiperiod length - based on int1. regards, |