Charlieplexing

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time
Contact:

Charlieplexing

Post 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

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: Charlieplexing

Post 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
Martin

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time
Contact:

Re: Charlieplexing

Post by TomasS »

Hi Martin

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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Charlieplexing

Post 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).

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time
Contact:

Re: Charlieplexing

Post 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' :)

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Charlieplexing

Post 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

TomasS
Posts: 75
Joined: Wed Oct 28, 2009 2:37 pm
Has thanked: 15 times
Been thanked: 1 time
Contact:

Re: Charlieplexing

Post by TomasS »

Hi Ben

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

BR
Tomas

Post Reply