Custom 7 Segment Display Issue

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
cruzxia
Posts: 88
Joined: Wed Jan 04, 2006 7:34 am
Been thanked: 8 times

Custom 7 Segment Display Issue

Post by cruzxia »

I migrated some code from Flowcode V3 to V4 and my custom 7 segment display code wont simulate (display) when I run it on the PC.
Because I have custom characters, not just numbers, I created my own macros, that do not use the LED7Seg component macros at all.
On Flowcode V3 this simulated on the PC but on V4.1 it wont do anything.

Is there a way to make it work in Flowcode V4.1 ?

Note to use the macro below you must first load some data before entering the macro.
E.g. (display A F for 100 loops of time)
DIGIT0 = 136
DIGIT1 = 142
DISPLAY_LOOP = 100
Attachments
Display eg.jpg
(40.41 KiB) Downloaded 1174 times

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: Custom 7 Segment Display Issue

Post by Benj »

Hello Cruzxia

I think the problem will be regarding the 7 segment components connections. If you select the 7 segment component and then click on the connections icon you should see that all of the pins are disconnected. Connect these up and your program shoul simulate correctly again. Let me know if this does not solve your problem.

cruzxia
Posts: 88
Joined: Wed Jan 04, 2006 7:34 am
Been thanked: 8 times

Re: Custom 7 Segment Display Issue

Post by cruzxia »

I setup the component connections for the 7 segment display (when migrating from Flowcode V3 to V4 it gave a warning message)
The connections are correct, I tested it by inserting a component macro and it displayed the numbers.

There is something else causing the problem. I can email you a display FCF if you want to test it.

Cruzxia

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: Custom 7 Segment Display Issue

Post by Benj »

Hello Cruzxia

OK there is a problem with the V4 7Segment components that they do not simulate when the pins they are connected to are toggled. Only the hardware macro icons will allow them to simulate.

We will hopefully have this fixed for the next release of Flowcode so the pins do control the 7 segments correctly.

Post Reply