chandresha1
Member level 2
- Joined
- Dec 4, 2010
- Messages
- 43
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,288
- Location
- Bremen, Germany
- Activity points
- 1,673
I want to generate 250Khz analog signals through microcontroller. I am going to use 2Mhz square wave with different duty cycles followed by low-pass filter. I have simulated all these things in simulink and getting square wave with variable frequency according to my requirement.
The problem is i want to know the exact timing when square wave changes its state in order to program my microcontroller. I don't want time-amplitude information at regular interval. I want specifically the time information when square wave changes its state from 1 to 0 and vice versa.
The problem is i want to know the exact timing when square wave changes its state in order to program my microcontroller. I don't want time-amplitude information at regular interval. I want specifically the time information when square wave changes its state from 1 to 0 and vice versa.