Signal Generator

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
JFinlayson
Posts: 93
Joined: Mon Sep 23, 2013 4:33 pm
Has thanked: 5 times
Been thanked: 6 times

Signal Generator

Post 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

:?
The older the boy the bigger the toy

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Signal Generator

Post 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

JFinlayson
Posts: 93
Joined: Mon Sep 23, 2013 4:33 pm
Has thanked: 5 times
Been thanked: 6 times

Re: Signal Generator

Post by JFinlayson »

Thanks for the prompt reply, I will try this, typically the input signals are in the range of 300Hz to 3Khz
The older the boy the bigger the toy

Post Reply