Page 1 of 1

Charlieplexing

Posted: Tue Jun 17, 2014 1:46 pm
by TomasS
Hi

Has anybody done some programming using charlieplexing?
I know how it works, but I would like to see some flowcode programming using charlieplexing.

So if you have done a program and would like to share it, I would be pleased :)

BR.
Tomas

Re: Charlieplexing

Posted: Tue Jun 17, 2014 3:06 pm
by medelec35
Hi Tomas,
Please do not double post.
I have deleted duplicate post from V4 section.

If you would like people who can't access V5 to reply then you could have posted in the V5 free section for example.

Martin

Re: Charlieplexing

Posted: Tue Jun 17, 2014 3:23 pm
by TomasS
Hi Martin

OK - I will make a note on that for future posts :)

Re: Charlieplexing

Posted: Tue Jun 17, 2014 4:35 pm
by Benj
Hello,

I have added a new Charlieplexed LED component into Flowcode v6 which should hopefully be available in the upcoming release (6.0.8).

Re: Charlieplexing

Posted: Tue Jun 17, 2014 4:45 pm
by TomasS
Benj wrote:Hello,

I have added a new Charlieplexed LED component into Flowcode v6 which should hopefully be available in the upcoming release (6.0.8).
Hi Ben

Sounds great - But I'm not using ver. 6, yet - So I would like to do it 'the good old way' :)

Re: Charlieplexing

Posted: Tue Jun 17, 2014 5:21 pm
by Benj
Hello,

The component I created has two macros:

AllOff - Switches all the LEDs off by converting all associated I/O to inputs.

LEDOn - Switches a specific LED on by using a switch statement depending on the number of pins available and the LED you wish to light. Multiple LEDs can appear on at once by using multiplexing techniques.

LED On macro flowchart.
Charlieplex.jpg
(350.67 KiB) Downloaded 1099 times

Re: Charlieplexing

Posted: Mon Jun 23, 2014 8:32 pm
by TomasS
Hi Ben

Thanks for the flowchart - I will try to do a work around from it :)

BR
Tomas