7seg4 common cathode

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
leha_m1986
Posts: 15
Joined: Tue May 22, 2018 10:02 am
Contact:

7seg4 common cathode

Post by leha_m1986 »

Hello there! Please tell me, does not change the type of indicator from a common anode to a common cathode. "Custom code - > Defines -> Edit code - > line 37 - > 0=common cathode, 1=common anode" - no result.
Attachments
VIMET.rar
(180.09 KiB) Downloaded 205 times

leha_m1986
Posts: 15
Joined: Tue May 22, 2018 10:02 am
Contact:

Re: 7seg4 common cathode

Post by leha_m1986 »

Redesigned the project in Flowcode 8 . Here, too, the problem, collect voltmeter-ammeter. Individual measurements work, but they don't work together. Tell me where I made a mistake
Attachments
metr.rar
(18.42 KiB) Downloaded 205 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: 7seg4 common cathode

Post by Benj »

Hello,

For the floating point maths to work try changing your constants from 1000 to 1000.0 to force a floating point calculation, or if you can use integer maths instead.

leha_m1986
Posts: 15
Joined: Tue May 22, 2018 10:02 am
Contact:

Re: 7seg4 common cathode

Post by leha_m1986 »

Hi, but separately everything works! but not together. And I have problems with the dynamic display, the" hardware " indicator flickers strongly, and generally behaves strangely...Can you advise how best to do it?

chipfryer27
Valued Contributor
Valued Contributor
Posts: 617
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 195 times
Contact:

Re: 7seg4 common cathode

Post by chipfryer27 »

Hi

Have you had a read at these posts?

https://www.matrixtsl.com/mmforums/view ... 76&t=21119

They should prove quite helpful.

Regards

Post Reply