Help 7Segment Single x Quad

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
ACPC
Posts: 3
Joined: Thu Apr 18, 2019 7:05 pm
Contact:

Help 7Segment Single x Quad

Post by ACPC »

Only 7Segment Quad works, how to make 7Segment single works too?
I Alread checked datasheet but is not clear for me what is wrong.
Single
SEG0___________________SEG1__________________SEG2__________________SEG3
pin0(A) $PORTB.0________pin0(A) $PORTB.0________pin0(A) $PORTB.0________pin0(A) $PORTB.0
pin1(B) $PORTB.1________pin1(B) $PORTB.1________pin1(B) $PORTB.1________pin1(B) $PORTB.1
pin2(C) $PORTB.2________pin2(C) $PORTB.2________pin2(C) $PORTB.2________pin2(C) $PORTB.2
pin3(D) $PORTB.3________pin3(D) $PORTB.3________pin3(D) $PORTB.3________pin3(D) $PORTB.3
pin4(E) $PORTB.4________pin4(E) $PORTB.4________pin4(E) $PORTB.4________pin4(E) $PORTB.4
pin5(F) $PORTB.5________pin5(F) $PORTB.5________pin5(F) $PORTB.5________pin5(F) $PORTB.5
pin6(G) $PORTB.6________pin6(G) $PORTB.6________pin6(G) $PORTB.6_______pin6(G) $PORTB.6
pin7(DP) $PORTB.7_______pin7(DP) $PORTB.7_______pin7(DP) $PORTB.7_______pin7(DP) $PORTB.7
common $PORTA.0_______common $PORTA.1______common $PORTA.2_______common $PORTA.3

Quad
Common_Pin0 $PORTA.0
Common_Pin0 $PORTA.1
Common_Pin0 $PORTA.2
Common_Pin0 $PORTA.3
pin0(A) $PORTB.0
pin1(B) $PORTB.1
pin2(C) $PORTB.2
pin3(D) $PORTB.3
pin4(E) $PORTB.4
pin5(F) $PORTB.5
pin6(G) $PORTB.6
pin7(DP) $PORTB.7

Regards
AC
Last edited by ACPC on Tue Apr 23, 2019 12:06 pm, edited 1 time in total.

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: Help 7Segment Single x Quad

Post by Benj »

Hello AC,

Are you programming in Flowcode? If so which version and can you attach your program you are having problems with?

How is your circuitry configured? Can you attach a schematic?

ACPC
Posts: 3
Joined: Thu Apr 18, 2019 7:05 pm
Contact:

Re: Help 7Segment Single x Quad

Post by ACPC »

Hi Benj,

Here is.
Attachments
Volt_30_V_7SEGx4_SEP_F88.fcfx
(10.75 KiB) Downloaded 213 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: Help 7Segment Single x Quad

Post by Benj »

Thanks, Which version of Flowcode are you using?

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: Help 7Segment Single x Quad

Post by Benj »

This should now work correctly. I basically added extra output icons to disable the segment after it has been displayed.
Volt_30_V_7SEGx4_SEP_F88.fcfx
(14.42 KiB) Downloaded 250 times

ACPC
Posts: 3
Joined: Thu Apr 18, 2019 7:05 pm
Contact:

Re: Help 7Segment Single x Quad

Post by ACPC »

Working, but 7seg are blinkink.
Macro ClearDigit fix this problem too
7Segment Quad works fine, not blinking.

Thanks

AC

version 6

Post Reply