Mirror input signal

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

Moderator: Benj

Post Reply
ChrisT66
Posts: 67
Joined: Mon Jul 13, 2020 3:00 pm
Contact:

Mirror input signal

Post by ChrisT66 »

Is there a simple way to output an input signal (PWM) 1:1 again to another pin?

Thanks in advance for possible solutions :)

Chris

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Mirror input signal

Post by medelec35 »

Hi Chris.
What about using a IOC on portB interrupt for example?
When there is a change detected on the pin then the pin can be read to determine the state.
Then within the interrupt macro, output the same state to a pin of your choice.
Martin

ChrisT66
Posts: 67
Joined: Mon Jul 13, 2020 3:00 pm
Contact:

Re: Mirror input signal

Post by ChrisT66 »

Hi Martin, sounds like a solution :) I will test right away

Thanks!

ChrisT66
Posts: 67
Joined: Mon Jul 13, 2020 3:00 pm
Contact:

Re: Mirror input signal

Post by ChrisT66 »

Works great and very simple! Thanks again :)

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Mirror input signal

Post by medelec35 »

Hi Chris,
your welcome.
That's great!
Thank you for letting us know.
Martin

Post Reply