From 3b2a115a1976eb40bd80846549af43556e01f4be Mon Sep 17 00:00:00 2001
From: Jochen Vothknecht <jochen3120@gmail.com>
Date: Wed, 2 Feb 2022 09:00:29 +0100
Subject: [PATCH] Finishing TLC5540

---
 TripwireHook.lib | 91 ++++++++++++++++++++++++++++++++++--------------
 1 file changed, 64 insertions(+), 27 deletions(-)

diff --git a/TripwireHook.lib b/TripwireHook.lib
index 8f826e1..f565b41 100644
--- a/TripwireHook.lib
+++ b/TripwireHook.lib
@@ -1391,35 +1391,72 @@ ENDDEF
 # TLC5540
 #
 DEF TLC5540 U 0 40 Y Y 1 F N
-F0 "U" -1050 -2000 50 H V C CNN
-F1 "TLC5540" 800 -2050 50 H V C CNN
-F2 "Package_SO:TSSOP-24_4.4x7.8mm_P0.65mm" 50 -1750 50 H I C CNN
+F0 "U" -550 750 50 H V C CNN
+F1 "TLC5540" 600 750 50 H V C CNN
+F2 "Package_SO:TSSOP-24_4.4x7.8mm_P0.65mm" 0 -1200 50 H I C CNN
 F3 "" 1800 -500 50 H I C CNN
 DRAW
-X ~OE 1 -2000 650 100 R 50 50 1 1 I
-X D7 10 -2000 -350 100 R 50 50 1 1 O
-X VDD 11 -2000 -550 100 R 50 50 1 1 W
-X CLK 12 -2000 -650 100 R 50 50 1 1 I
-X VDDD 13 2100 -700 100 L 50 50 1 1 W
-X VDDA 14 2100 -450 100 L 50 50 1 1 W
-X VDDA 15 2100 -550 100 L 50 50 1 1 W
-X REFTS 16 2100 -250 100 L 50 50 1 1 I
-X REFT 17 2100 -150 100 L 50 50 1 1 I
-X VDDA 18 2100 0 100 L 50 50 1 1 W
-X AIN 19 2100 150 100 L 50 50 1 1 I
-X DGND 2 -2000 550 100 R 50 50 1 1 W
-X AGND 20 2100 450 100 L 50 50 1 1 W
-X AGND 21 2100 350 100 L 50 50 1 1 W
-X REFBS 22 2100 600 100 L 50 50 1 1 I
-X REFB 23 2100 700 100 L 50 50 1 1 I
-X DGND 24 2100 850 100 L 50 50 1 1 W
-X D0 3 -2000 350 100 R 50 50 1 1 O
-X D1 4 -2000 250 100 R 50 50 1 1 O
-X D2 5 -2000 150 100 R 50 50 1 1 O
-X D3 6 -2000 50 100 R 50 50 1 1 O
-X D4 7 -2000 -50 100 R 50 50 1 1 O
-X D5 8 -2000 -150 100 R 50 50 1 1 O
-X D6 9 -2000 -250 100 R 50 50 1 1 O
+T 0 280 300 20 0 0 0 320Ω Normal 0 C C
+T 0 280 -300 20 0 0 0 80Ω Normal 0 C C
+T 0 -50 0 50 0 0 0 ADC Normal 1 C C
+T 0 170 20 20 0 0 0 AIN Normal 1 C C
+T 900 280 0 20 0 1 1 270Ω Normal 0 C C
+T 0 -50 -100 28 0 1 1 GND Normal 1 C C
+T 0 -50 100 28 0 1 1 Vcc Normal 1 C C
+S -650 650 650 -650 0 1 0 f
+S -200 150 100 -150 1 1 0 N
+S 260 50 300 -50 1 1 0 N
+S 330 -320 230 -280 1 1 0 N
+S 330 320 230 280 1 1 0 N
+P 2 0 0 0 100 0 210 0 N
+P 3 0 0 0 -50 -150 -50 -200 360 -200 N
+P 3 0 0 0 280 -50 280 -200 330 -200 N
+P 3 0 0 0 280 50 280 200 330 200 N
+P 3 0 0 0 360 200 -50 200 -50 150 N
+P 2 0 1 0 -400 -250 -450 -250 N
+P 2 0 1 0 -400 -150 -450 -150 N
+P 2 0 1 0 -400 -50 -450 -50 N
+P 2 0 1 0 -400 50 -450 50 N
+P 2 0 1 0 -400 150 -450 150 N
+P 2 0 1 0 -400 250 -450 250 N
+P 2 1 1 0 -450 -350 -400 -350 N
+P 2 1 1 0 -450 350 -400 350 N
+P 2 1 1 0 330 -300 360 -300 N
+P 2 1 1 0 330 300 360 300 N
+P 3 1 1 0 230 -300 200 -300 200 -390 N
+P 3 1 1 0 230 300 200 300 200 390 N
+P 4 1 1 0 -400 -350 -280 -350 -280 -110 -200 -110 N
+P 4 1 1 0 -400 -150 -340 -150 -340 -50 -200 -50 N
+P 4 1 1 0 -400 50 -370 50 -370 20 -200 20 N
+P 4 1 1 0 -400 150 -340 150 -340 50 -200 50 N
+P 4 1 1 0 -400 250 -310 250 -310 80 -200 80 N
+P 4 1 1 0 -200 -80 -310 -80 -310 -250 -400 -250 N
+P 4 1 1 0 -200 -20 -370 -20 -370 -50 -400 -50 N
+P 4 1 1 0 -200 110 -280 110 -280 350 -400 350 N
+X ~OE 1 -750 500 100 R 50 50 1 1 I
+X D7 10 -750 -350 100 R 50 50 1 1 O
+X VDD 11 -300 750 100 D 50 50 1 1 W
+X CLK 12 -750 -500 100 R 50 50 1 1 I
+X VDDD 13 -100 750 100 D 50 50 1 1 W
+X VDDA 14 100 750 100 D 50 50 1 1 W
+X VDDA 15 200 750 100 D 50 50 1 1 W
+X REFTS 16 750 300 100 L 50 50 1 1 I
+X REFT 17 750 200 100 L 50 50 1 1 I
+X VDDA 18 300 750 100 D 50 50 1 1 W
+X AIN 19 750 0 100 L 50 50 1 1 I
+X DGND 2 -200 -750 100 U 50 50 1 1 W
+X AGND 20 100 -750 100 U 50 50 1 1 W
+X AGND 21 200 -750 100 U 50 50 1 1 W
+X REFBS 22 750 -300 100 L 50 50 1 1 I
+X REFB 23 750 -200 100 L 50 50 1 1 I
+X DGND 24 -100 -750 100 U 50 50 1 1 W
+X D0 3 -750 350 100 R 50 50 1 1 O
+X D1 4 -750 250 100 R 50 50 1 1 O
+X D2 5 -750 150 100 R 50 50 1 1 O
+X D3 6 -750 50 100 R 50 50 1 1 O
+X D4 7 -750 -50 100 R 50 50 1 1 O
+X D5 8 -750 -150 100 R 50 50 1 1 O
+X D6 9 -750 -250 100 R 50 50 1 1 O
 ENDDRAW
 ENDDEF
 #
-- 
GitLab