Page 1 of 1

Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 1:33 am
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

Re: Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 9:55 am
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?

Re: Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 12:03 pm
by ACPC
Hi Benj,

Here is.

Re: Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 12:51 pm
by Benj
Thanks, Which version of Flowcode are you using?

Re: Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 12:57 pm
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 41 times

Re: Help 7Segment Single x Quad

Posted: Tue Apr 23, 2019 1:20 pm
by ACPC
Working, but 7seg are blinkink.
Macro ClearDigit fix this problem too
7Segment Quad works fine, not blinking.

Thanks

AC

version 6