From 794e0a7d7052fc89f4c3a8ee1ca1d2a3a0fe4742 Mon Sep 17 00:00:00 2001 From: Solartraveler Date: Sun, 10 Nov 2019 19:02:04 +0100 Subject: [PATCH] 7 seg symbol (#1896) * Add SC39-11, SC39-12, SA39-11, SA39-12 symbols. Bug: They select the wrong footprint by default, which sould be Sx39-1x, but ends up being the symbol name. * Fix footprint selection fox S?39-1? 7 semgent displays * Change Sx-39-1x symbols to run through checklib without error. Footprint names were not fitting. * Generate aliases for the different color versions of Sx39-1x 7segment displays. * Changed mail to ...@users.noreply.github.com Signed-off-by: Solartraveler * Dummy pull request for triggering rechecking license/cla Signed-off-by: Solartraveler * Fix wrong conflict resolve, to rebase to current master. Somehow two lines and SC39-12EWA was lost * Fix double definition of SC12-EWA --- Display_Character.dcm | 96 ++++++++++++++++++++++++ Display_Character.lib | 168 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 264 insertions(+) diff --git a/Display_Character.dcm b/Display_Character.dcm index 91f9aa771d..dac45830f2 100644 --- a/Display_Character.dcm +++ b/Display_Character.dcm @@ -582,6 +582,54 @@ K display LED 7-segment F http://www.kingbrightusa.com/images/catalog/SPEC/SA15-11SRWA.pdf $ENDCMP # +$CMP SA39-11EWA +D Single digit 7 segment display, high efficiency red, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-11ewa.pdf +$ENDCMP +# +$CMP SA39-11GWA +D Single digit 7 segment display, green, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-11gwa.pdf +$ENDCMP +# +$CMP SA39-11SRWA +D Single digit 7 segment display, super bright red, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-11srwa.pdf +$ENDCMP +# +$CMP SA39-11YWA +D Single digit 7 segment display, yellow, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-11ywa.pdf +$ENDCMP +# +$CMP SA39-12EWA +D Single digit 7 segment display, high efficiency red, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-12ewa.pdf +$ENDCMP +# +$CMP SA39-12GWA +D Single digit 7 segment display, green, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-12gwa.pdf +$ENDCMP +# +$CMP SA39-12SRWA +D Single digit 7 segment display, super bright red, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-12srwa.pdf +$ENDCMP +# +$CMP SA39-12YWA +D Single digit 7 segment display, yellow, common anode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sa39-12ywa.pdf +$ENDCMP +# $CMP SBC18-11EGWA D Single digit 7 segment hyper red and green LED display, common cathode K display LED 7-segment @@ -594,6 +642,54 @@ K display LED 7-segment F http://www.kingbright.com/attachments/file/psearch/000/00/00/SBC18-11SURKCGKWA(Ver.6A).pdf $ENDCMP # +$CMP SC39-11EWA +D Single digit 7 segment display, high efficiency red, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-11ewa.pdf +$ENDCMP +# +$CMP SC39-11GWA +D Single digit 7 segment display, green, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-11gwa.pdf +$ENDCMP +# +$CMP SC39-11SRWA +D Single digit 7 segment display, super bright red, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-11srwa.pdf +$ENDCMP +# +$CMP SC39-11YWA +D Single digit 7 segment display, yellow, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-11ywa.pdf +$ENDCMP +# +$CMP SC39-12EWA +D Single digit 7 segment display, high efficiency red, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-12ewa.pdf +$ENDCMP +# +$CMP SC39-12GWA +D Single digit 7 segment display, green, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-12gwa.pdf +$ENDCMP +# +$CMP SC39-12SRWA +D Single digit 7 segment display, super bright red, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-12srwa.pdf +$ENDCMP +# +$CMP SC39-12YWA +D Single digit 7 segment display, yellow, common cathode +K display LED 7-segment +F http://www.kingbrightusa.com/images/catalog/SPEC/sc39-12ywa.pdf +$ENDCMP +# $CMP SM420561N D One digit 7 segment blue LED, common cathode K display LED 7-segment diff --git a/Display_Character.lib b/Display_Character.lib index ebbc998550..2837f79087 100644 --- a/Display_Character.lib +++ b/Display_Character.lib @@ -3870,6 +3870,90 @@ X F 9 -300 -200 100 R 50 50 1 1 I ENDDRAW ENDDEF # +# SA39-11EWA +# +DEF SA39-11EWA U 0 20 Y Y 1 F N +F0 "U" -150 550 50 H V C CNN +F1 "SA39-11EWA" 250 550 50 H V C CNN +F2 "Display_7Segment:Sx39-1xxxxx" 0 -550 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS SA39-11YWA SA39-11SRWA SA39-11GWA +$FPLIST + S?39?1* +$ENDFPLIST +DRAW +T 0 10 95 20 0 1 0 A Normal 0 C C +T 0 100 65 20 0 1 0 B Normal 0 C C +T 0 90 -55 20 0 1 0 C Normal 0 C C +T 0 -10 -85 20 0 1 0 D Normal 0 C C +T 0 140 -115 20 0 1 0 DP Normal 0 C C +T 0 -100 -55 20 0 1 0 E Normal 0 C C +T 0 -90 65 20 0 1 0 F Normal 0 C C +T 0 0 35 20 0 1 0 G Normal 0 C C +S -200 500 200 -500 1 1 10 f +P 2 1 1 20 -60 -15 -70 -95 N +P 2 1 1 20 -50 -115 30 -115 N +P 2 1 1 20 -50 105 -60 25 N +P 2 1 1 20 -40 5 40 5 N +P 2 1 1 20 -30 125 50 125 N +P 2 1 1 20 60 -15 50 -95 N +P 2 1 1 20 70 105 60 25 N +P 2 1 1 20 100 -115 100 -115 N +X G 1 -300 -300 100 R 50 50 1 1 I +X A 10 -300 300 100 R 50 50 1 1 I +X F 2 -300 -200 100 R 50 50 1 1 I +X CA 3 300 -300 100 L 50 50 1 1 I +X E 4 -300 -100 100 R 50 50 1 1 I +X D 5 -300 0 100 R 50 50 1 1 I +X DP 6 -300 -400 100 R 50 50 1 1 I +X C 7 -300 100 100 R 50 50 1 1 I +X CA 8 300 -400 100 L 50 50 1 1 I +X B 9 -300 200 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# +# SA39-12EWA +# +DEF SA39-12EWA U 0 20 Y Y 1 F N +F0 "U" -150 550 50 H V C CNN +F1 "SA39-12EWA" 250 550 50 H V C CNN +F2 "Display_7Segment:Sx39-1xxxxx" 0 -550 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS SA39-12GWA SA39-12SRWA SA39-12YWA +$FPLIST + S?39?1* +$ENDFPLIST +DRAW +T 0 10 95 20 0 1 0 A Normal 0 C C +T 0 100 65 20 0 1 0 B Normal 0 C C +T 0 90 -55 20 0 1 0 C Normal 0 C C +T 0 -10 -85 20 0 1 0 D Normal 0 C C +T 0 140 -115 20 0 1 0 DP Normal 0 C C +T 0 -100 -55 20 0 1 0 E Normal 0 C C +T 0 -90 65 20 0 1 0 F Normal 0 C C +T 0 0 35 20 0 1 0 G Normal 0 C C +S -200 500 200 -500 1 1 10 f +P 2 1 1 20 -60 -15 -70 -95 N +P 2 1 1 20 -50 -115 30 -115 N +P 2 1 1 20 -50 105 -60 25 N +P 2 1 1 20 -40 5 40 5 N +P 2 1 1 20 -30 125 50 125 N +P 2 1 1 20 60 -15 50 -95 N +P 2 1 1 20 70 105 60 25 N +P 2 1 1 20 100 -115 100 -115 N +X CA 1 300 -300 100 L 50 50 1 1 I +X A 10 -300 300 100 R 50 50 1 1 I +X F 2 -300 -200 100 R 50 50 1 1 I +X G 3 -300 -300 100 R 50 50 1 1 I +X E 4 -300 -100 100 R 50 50 1 1 I +X D 5 -300 0 100 R 50 50 1 1 I +X CA 6 300 -400 100 L 50 50 1 1 I +X DP 7 -300 -400 100 R 50 50 1 1 I +X C 8 -300 100 100 R 50 50 1 1 I +X B 9 -300 200 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# # SBC18-11SURKCGKWA # DEF SBC18-11SURKCGKWA U 0 25 Y Y 1 F N @@ -3912,6 +3996,90 @@ X F 9 -300 -200 100 R 50 50 1 1 I ENDDRAW ENDDEF # +# SC39-11EWA +# +DEF SC39-11EWA U 0 20 Y Y 1 F N +F0 "U" -150 550 50 H V C CNN +F1 "SC39-11EWA" 250 550 50 H V C CNN +F2 "Display_7Segment:Sx39-1xxxxx" 0 -550 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS SC39-11GWA SC39-11YWA SC39-11SRWA +$FPLIST + S?39?1* +$ENDFPLIST +DRAW +T 0 10 95 20 0 1 0 A Normal 0 C C +T 0 100 65 20 0 1 0 B Normal 0 C C +T 0 90 -55 20 0 1 0 C Normal 0 C C +T 0 -10 -85 20 0 1 0 D Normal 0 C C +T 0 140 -115 20 0 1 0 DP Normal 0 C C +T 0 -100 -55 20 0 1 0 E Normal 0 C C +T 0 -90 65 20 0 1 0 F Normal 0 C C +T 0 0 35 20 0 1 0 G Normal 0 C C +S -200 500 200 -500 1 1 10 f +P 2 1 1 20 -60 -15 -70 -95 N +P 2 1 1 20 -50 -115 30 -115 N +P 2 1 1 20 -50 105 -60 25 N +P 2 1 1 20 -40 5 40 5 N +P 2 1 1 20 -30 125 50 125 N +P 2 1 1 20 60 -15 50 -95 N +P 2 1 1 20 70 105 60 25 N +P 2 1 1 20 100 -115 100 -115 N +X G 1 -300 -300 100 R 50 50 1 1 I +X A 10 -300 300 100 R 50 50 1 1 I +X F 2 -300 -200 100 R 50 50 1 1 I +X CC 3 300 -300 100 L 50 50 1 1 I +X E 4 -300 -100 100 R 50 50 1 1 I +X D 5 -300 0 100 R 50 50 1 1 I +X DP 6 -300 -400 100 R 50 50 1 1 I +X C 7 -300 100 100 R 50 50 1 1 I +X CC 8 300 -400 100 L 50 50 1 1 I +X B 9 -300 200 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# +# SC39-12EWA +# +DEF SC39-12EWA U 0 20 Y Y 1 F N +F0 "U" -150 550 50 H V C CNN +F1 "SC39-12EWA" 250 550 50 H V C CNN +F2 "Display_7Segment:Sx39-1xxxxx" 0 -550 50 H I C CNN +F3 "" 0 0 50 H I C CNN +ALIAS SC39-12GWA SC39-12YWA SC39-12SRWA +$FPLIST + S?39?1* +$ENDFPLIST +DRAW +T 0 10 95 20 0 1 0 A Normal 0 C C +T 0 100 65 20 0 1 0 B Normal 0 C C +T 0 90 -55 20 0 1 0 C Normal 0 C C +T 0 -10 -85 20 0 1 0 D Normal 0 C C +T 0 140 -115 20 0 1 0 DP Normal 0 C C +T 0 -100 -55 20 0 1 0 E Normal 0 C C +T 0 -90 65 20 0 1 0 F Normal 0 C C +T 0 0 35 20 0 1 0 G Normal 0 C C +S -200 500 200 -500 1 1 10 f +P 2 1 1 20 -60 -15 -70 -95 N +P 2 1 1 20 -50 -115 30 -115 N +P 2 1 1 20 -50 105 -60 25 N +P 2 1 1 20 -40 5 40 5 N +P 2 1 1 20 -30 125 50 125 N +P 2 1 1 20 60 -15 50 -95 N +P 2 1 1 20 70 105 60 25 N +P 2 1 1 20 100 -115 100 -115 N +X CC 1 300 -300 100 L 50 50 1 1 I +X A 10 -300 300 100 R 50 50 1 1 I +X F 2 -300 -200 100 R 50 50 1 1 I +X G 3 -300 -300 100 R 50 50 1 1 I +X E 4 -300 -100 100 R 50 50 1 1 I +X D 5 -300 0 100 R 50 50 1 1 I +X CC 6 300 -400 100 L 50 50 1 1 I +X DP 7 -300 -400 100 R 50 50 1 1 I +X C 8 -300 100 100 R 50 50 1 1 I +X B 9 -300 200 100 R 50 50 1 1 I +ENDDRAW +ENDDEF +# # SM420561N # DEF SM420561N U 0 20 Y Y 1 F N