help with 7 segment display

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
nc56
Posts: 60
Joined: Thu Nov 15, 2012 1:21 pm
Has thanked: 14 times
Been thanked: 4 times

help with 7 segment display

Post by nc56 »

Hello
I want to display a number using 7 segment commun cathod
this is my program but it does not work with pic
thanks
Attachments
7se8.fcf
(11.5 KiB) Downloaded 293 times

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

Re: help with 7 segment display

Post by medelec35 »

Hi nc56,
Since your using V5 Professional:
Support for Flowcode V5 customers using student/Home or Professional is done via the Flowcode V5 forum.
To be able to post in this forum your account has to be upgraded to a "Flowcode V5 User"
Please see the following link for more information:
http://www.matrixmultimedia.com/mmforum ... =46&t=9958

When your registered I'm sure we can post a solution for you :)

Martin
Martin

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: help with 7 segment display

Post by STibor »

Simple example Multiplex operation manual.
Attachments
led_mpx.fcf
(11 KiB) Downloaded 306 times

bercioiu
Posts: 161
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 90 times
Been thanked: 34 times
Contact:

Re: help with 7 segment display

Post by bercioiu »

Hi nc56 !
I fixed your file. When you use 7 segments display you have to connect all pins of the display. You have a warning when you connect the device witch said that if you don`t connect a pin of your device will don`t work properly but you ignored that warning. Your DP. for last two digits was not connected and RB7 witch was assigned for the first digit at DP in the last digit was assigned to common. Hope this work!

Later edit:
Hi STibor!
I fixed your file too. You miss the clear digit icon before to use the icon that the show the next digit.
Attachments
led_mpx_fixed.fcf
(11.5 KiB) Downloaded 308 times
7se8_fixed.fcf
(11 KiB) Downloaded 311 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: help with 7 segment display

Post by STibor »

Later edit:
Hi STibor!
I fixed your file too. You miss the clear digit icon before to use the icon that the show the next digit.
You do not need to delete the display. The following 7 segment LED macro automatically rewrites the ports.
The unused display common cathode float.

bercioiu
Posts: 161
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 90 times
Been thanked: 34 times
Contact:

Re: help with 7 segment display

Post by bercioiu »

1. Test your file and my file, see what is good or not. You are wrong: if you don`t clear the display, the common of that display will light in the same time with the next digit .
2. I don`t understand what about the unused cathode that float... If you refer to the nc56`s file, he connect the first digit DP to the RB7 and at the digit two (or three i don`t remember now) he connect common to the same RB7


Later Edit:

If you write another number at the same digit, you are right, you don`t have to clear the old number. (it`s redundant)

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: help with 7 segment display

Post by STibor »

If you do not have zero blanking, the code is good.
The video below shows the winding calculator.
The display control based on this principle.
http://www.youtube.com/watch?v=n4knCFvK ... e=youtu.be

bercioiu
Posts: 161
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 90 times
Been thanked: 34 times
Contact:

Re: help with 7 segment display

Post by bercioiu »

Can you post the fcv file for that counter? Thanks a lot!

Post Reply