I am timing a 100 Hz square wave to determine its changing duty cycle and have been using MPLab SIM for simulation. Is there any way to inject a repetitive stimulus like a square wave?
My work around has been to use the pulse feature (e.g., 5 mS high, 5 mS low) and appropriately placed breakpoints. Ideally, it would be nice to write a little PWM routine in assembly and be able to use that for stimulus.
John
My work around has been to use the pulse feature (e.g., 5 mS high, 5 mS low) and appropriately placed breakpoints. Ideally, it would be nice to write a little PWM routine in assembly and be able to use that for stimulus.
John