Page 1 of 1
Signal Generator
Posted: Mon Sep 23, 2013 5:59 pm
by JFinlayson
Hi
I would like to set up a couple of signal generators to simulate pulses on two pins at different frequencies. Is this possible in the new version? If so how can I add these.
Regards

Re: Signal Generator
Posted: Mon Sep 23, 2013 7:18 pm
by JonnyW
Hello.
Yes, it is (depending on how high the frequencies need to be). Typically you would use a timer event and switch a pin (or pins) on the timer. See:
http://www.matrixmultimedia.com/mmforum ... 659#p51659
This is a squarewave generator component. You can export the component from the source file and include the component in your own projects.
if you need high frequencies then you may need to do this in a timer interrupt during simulation.
Cheers,
Jonny
Re: Signal Generator
Posted: Tue Sep 24, 2013 10:39 am
by JFinlayson
Thanks for the prompt reply, I will try this, typically the input signals are in the range of 300Hz to 3Khz