Index: CPC stuff/cpc_serial_2313/cpcser-cache.lib
===================================================================
--- CPC stuff/cpc_serial_2313/cpcser-cache.lib	(revision cb32b0b109b7f5f7691007b348c4b8053660462d)
+++ CPC stuff/cpc_serial_2313/cpcser-cache.lib	(revision cb32b0b109b7f5f7691007b348c4b8053660462d)
@@ -0,0 +1,390 @@
+EESchema-LIBRARY Version 2.3  Date: 07/11/2010 23:45:51
+#
+# +5V
+#
+DEF +5V #PWR 0 40 Y Y 1 F P
+F0 "#PWR" 0 90 20 H I C CNN
+F1 "+5V" 0 90 30 H V C CNN
+DRAW
+X +5V 1 0 0 0 U 20 20 0 0 W N
+C 0 50 20 0 1 0 N
+P 4 0 1 0  0 0  0 30  0 30  0 30 N
+ENDDRAW
+ENDDEF
+#
+# 74LS02
+#
+DEF 74LS02 U 0 30 Y Y 4 F N
+F0 "U" 0 50 60 H V C CNN
+F1 "74LS02" 50 -50 60 H V C CNN
+ALIAS 74HC02 74HCT02 7402 74LS28
+$FPLIST
+ SO14*
+ 14DIP*
+$ENDFPLIST
+DRAW
+X GND 7 -200 -200 0 U 40 40 0 0 W N
+X VCC 14 -200 200 0 D 40 40 0 0 W N
+A -470 0 262 496 -496 0 1 8 N -300 200 -300 -200
+A -1 -127 327 898 228 0 1 8 N 0 200 300 0
+A -1 128 327 -230 -898 0 1 8 N 300 0 0 -200
+P 2 0 1 8  -300 -200  0 -200 N
+P 2 0 1 8  -300 200  0 200 N
+X ~ 1 600 0 300 L 60 60 1 1 O I
+X ~ 2 -600 100 370 R 60 60 1 1 I
+X ~ 3 -600 -100 370 R 60 60 1 1 I
+X ~ 4 600 0 300 L 60 60 2 1 O I
+X ~ 5 -600 100 370 R 60 60 2 1 I
+X ~ 6 -600 -100 370 R 60 60 2 1 I
+X ~ 8 -600 100 370 R 60 60 3 1 I
+X ~ 9 -600 -100 370 R 60 60 3 1 I
+X ~ 10 600 0 300 L 60 60 3 1 O I
+X ~ 11 -600 100 370 R 60 60 4 1 I
+X ~ 12 -600 -100 370 R 60 60 4 1 I
+X ~ 13 600 0 300 L 60 60 4 1 O I
+A 100 0 200 896 -896 0 2 8 N 101 200 101 -199
+P 4 0 2 8  100 200  -300 200  -300 -200  100 -200 N
+X ~ 1 600 0 300 L 60 60 1 2 O
+X ~ 2 -600 100 300 R 60 60 1 2 I I
+X ~ 3 -600 -100 300 R 60 60 1 2 I I
+X ~ 4 600 0 300 L 60 60 2 2 O
+X ~ 5 -600 100 300 R 60 60 2 2 I I
+X ~ 6 -600 -100 300 R 60 60 2 2 I I
+X ~ 8 -600 100 300 R 60 60 3 2 I I
+X ~ 9 -600 -100 300 R 60 60 3 2 I I
+X ~ 10 600 0 300 L 60 60 3 2 O
+X ~ 11 -600 100 300 R 60 60 4 2 I I
+X ~ 12 -600 -100 300 R 60 60 4 2 I I
+X ~ 13 600 0 300 L 60 60 4 2 O
+ENDDRAW
+ENDDEF
+#
+# ATTINY2313MLF
+#
+DEF ATTINY2313MLF  U 0 40 Y Y 1 F N
+F0 " U" -25 1500 60 H V C CNN
+F1 "ATTINY2313MLF" 0 1700 60 H V C CNN
+DRAW
+S 950 -1600 -950 1600 0 1 0 N
+X (RESET)_PA2 1 -1250 -1250 300 R 50 50 1 1 I
+X PD0_(RXD) 2 1250 1450 300 L 50 50 1 1 B
+X PD1_(TXD) 3 1250 1250 300 L 50 50 1 1 B
+X (XTAL2)_PA1 4 -1250 1450 300 R 50 50 1 1 I IC
+X (XTAL1)_PA0 5 -1250 450 300 R 50 50 1 1 I C
+X PD2_(CKOUT/XCK/INT0) 6 1250 1050 300 L 50 50 1 1 B
+X PD3_(INT1) 7 1250 850 300 L 50 50 1 1 B
+X PD4_(T0) 8 1250 650 300 L 50 50 1 1 B
+X PD5_(OC0B/T1) 9 1250 450 300 L 50 50 1 1 B
+X GND 10 -1250 -1050 300 R 50 50 1 1 w
+X VCC 20 -1250 -850 300 R 50 50 1 1 W
+X PD6_(ICP) 11 1250 250 300 L 50 50 1 1 B
+X PB0_(AIN0/PCINT0) 12 1250 -50 300 L 50 50 1 1 B
+X PB1_(AIN1/PCINT1) 13 1250 -250 300 L 50 50 1 1 B
+X PB2_(OC0A/PCINT2) 14 1250 -450 300 L 50 50 1 1 B
+X PB3_(OC1A/PCINT3) 15 1250 -650 300 L 50 50 1 1 B
+X PB4_(OC1B/PCINT4) 16 1250 -850 300 L 50 50 1 1 B
+X PB5_(MOSI/DI/SDA/PCINT5) 17 1250 -1050 300 L 50 50 1 1 B
+X PB6_(MISO/DO/PCINT6) 18 1250 -1250 300 L 50 50 1 1 B
+X PB7_(USCK/SCK/PCINT7) 19 1250 -1450 300 L 50 50 1 1 B
+ENDDRAW
+ENDDEF
+#
+# C
+#
+DEF C C 0 10 N Y 1 F N
+F0 "C" 50 100 50 H V L CNN
+F1 "C" 50 -100 50 H V L CNN
+$FPLIST
+ SM*
+ C?
+ C1-1
+$ENDFPLIST
+DRAW
+P 2 0 1 10  -100 -30  100 -30 N
+P 2 0 1 10  -100 30  100 30 N
+X ~ 1 0 200 170 D 40 40 1 1 P
+X ~ 2 0 -200 170 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CONN_2
+#
+DEF CONN_2 P 0 40 Y N 1 F N
+F0 "P" -50 0 40 V V C CNN
+F1 "CONN_2" 50 0 40 V V C CNN
+DRAW
+S -100 150 100 -150 0 1 0 N
+X P1 1 -350 100 250 R 60 60 1 1 P I
+X PM 2 -350 -100 250 R 60 60 1 1 P I
+ENDDRAW
+ENDDEF
+#
+# CONN_25X2
+#
+DEF CONN_25X2 P 0 10 Y N 1 F N
+F0 "P" 0 1300 60 H V C CNN
+F1 "CONN_25X2" 0 0 50 V V C CNN
+DRAW
+S -100 1250 100 -1250 0 1 0 N
+X P1 1 -400 1200 300 R 60 30 1 1 P I
+X P2 2 400 1200 300 L 60 30 1 1 P I
+X P3 3 -400 1100 300 R 60 30 1 1 P I
+X P4 4 400 1100 300 L 60 30 1 1 P I
+X P5 5 -400 1000 300 R 60 30 1 1 P I
+X P6 6 400 1000 300 L 60 30 1 1 P I
+X P7 7 -400 900 300 R 60 30 1 1 P I
+X P8 8 400 900 300 L 60 30 1 1 P I
+X P9 9 -400 800 300 R 60 30 1 1 P I
+X P10 10 400 800 300 L 60 30 1 1 P I
+X P20 20 400 300 300 L 60 30 1 1 P I
+X P30 30 400 -200 300 L 60 30 1 1 P I
+X P40 40 400 -700 300 L 60 30 1 1 P I
+X P50 50 400 -1200 300 L 60 30 1 1 P I
+X P11 11 -400 700 300 R 60 30 1 1 P I
+X P21 21 -400 200 300 R 60 30 1 1 P I
+X P31 31 -400 -300 300 R 60 30 1 1 P I
+X P41 41 -400 -800 300 R 60 30 1 1 P I
+X P12 12 400 700 300 L 60 30 1 1 P I
+X P22 22 400 200 300 L 60 30 1 1 P I
+X P32 32 400 -300 300 L 60 30 1 1 P I
+X P42 42 400 -800 300 L 60 30 1 1 P I
+X P13 13 -400 600 300 R 60 30 1 1 P I
+X P23 23 -400 100 300 R 50 50 1 1 I I
+X P33 33 -400 -400 300 R 60 30 1 1 P I
+X P43 43 -400 -900 300 R 60 30 1 1 P I
+X P14 14 400 600 300 L 60 30 1 1 P I
+X P24 24 400 100 300 L 60 30 1 1 P I
+X P34 34 400 -400 300 L 60 30 1 1 P I
+X P44 44 400 -900 300 L 60 30 1 1 P I
+X P15 15 -400 500 300 R 60 30 1 1 P I
+X P25 25 -400 0 300 R 50 50 1 1 I I
+X P35 35 -400 -500 300 R 60 30 1 1 P I
+X P45 45 -400 -1000 300 R 60 30 1 1 P I
+X P16 16 400 500 300 L 60 30 1 1 P I
+X P26 26 400 0 300 L 60 30 1 1 P I
+X P36 36 400 -500 300 L 60 30 1 1 P I
+X P46 46 400 -1000 300 L 60 30 1 1 P I
+X P17 17 -400 400 300 R 60 30 1 1 P I
+X P27 27 -400 -100 300 R 60 30 1 1 P I
+X P37 37 -400 -600 300 R 60 30 1 1 P I
+X P47 47 -400 -1100 300 R 60 30 1 1 P I
+X P18 18 400 400 300 L 60 30 1 1 P I
+X P28 28 400 -100 300 L 60 30 1 1 P I
+X P38 38 400 -600 300 L 60 30 1 1 P I
+X P48 48 400 -1100 300 L 60 30 1 1 P I
+X P19 19 -400 300 300 R 60 30 1 1 P I
+X P29 29 -400 -200 300 R 60 30 1 1 P I
+X P39 39 -400 -700 300 R 60 30 1 1 P I
+X P49 49 -400 -1200 300 R 60 30 1 1 P I
+ENDDRAW
+ENDDEF
+#
+# CP1
+#
+DEF CP1 C 0 10 N N 1 F N
+F0 "C" 50 100 50 H V L CNN
+F1 "CP1" 50 -100 50 H V L CNN
+$FPLIST
+ CP*
+ SM*
+$ENDFPLIST
+DRAW
+T 0 -50 100 80 0 0 0 +  Normal 0 C C
+A 0 -200 180 563 1236 0 1 15 N 100 -50 -100 -50
+P 4 0 1 15  -100 50  100 50  50 50  50 50 N
+X ~ 1 0 200 150 D 40 40 1 1 P
+X ~ 2 0 -200 180 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CRYSTAL
+#
+DEF CRYSTAL X 0 40 N N 1 F N
+F0 "X" 0 150 60 H V C CNN
+F1 "CRYSTAL" 0 -150 60 H V C CNN
+DRAW
+P 2 0 1 16  -100 100  -100 -100 N
+P 2 0 1 16  100 100  100 -100 N
+P 5 0 1 12  -50 50  50 50  50 -50  -50 -50  -50 50 f
+X 1 1 -300 0 200 R 40 40 1 1 P
+X 2 2 300 0 200 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# DB9
+#
+DEF DB9 J 0 40 Y N 1 F N
+F0 "J" 0 550 70 H V C CNN
+F1 "DB9" 0 -550 70 H V C CNN
+$FPLIST
+ DB9*
+$ENDFPLIST
+DRAW
+C -70 -400 30 0 1 0 N
+C -70 -200 30 0 1 0 N
+C -70 0 30 0 1 0 N
+C -70 200 30 0 1 0 N
+C -70 400 30 0 1 0 N
+C 50 -300 30 0 1 0 N
+C 50 -100 30 0 1 0 N
+C 50 100 30 0 1 0 N
+C 50 300 30 0 1 0 N
+P 2 0 1 8  -150 -460  -150 460 N
+P 2 0 1 8  -150 -459  -140 -470 N
+P 2 0 1 0  -150 -400  -100 -400 N
+P 2 0 1 0  -150 -300  20 -300 N
+P 2 0 1 0  -150 -200  -100 -200 N
+P 2 0 1 0  -150 -100  20 -100 N
+P 2 0 1 0  -150 0  -100 0 N
+P 2 0 1 0  -150 100  20 100 N
+P 2 0 1 0  -150 200  -100 200 N
+P 2 0 1 0  -150 300  20 300 N
+P 2 0 1 0  -150 400  -100 400 N
+P 2 0 1 8  -140 -470  -110 -490 N
+P 2 0 1 8  -140 470  -150 460 N
+P 2 0 1 8  -140 470  -100 490 N
+P 2 0 1 8  -110 -490  -50 -490 N
+P 2 0 1 8  -100 490  -70 490 N
+P 2 0 1 8  129 390  -70 490 N
+P 2 0 1 8  129 390  150 370 N
+P 2 0 1 8  140 -409  -50 -490 N
+P 2 0 1 8  150 -390  140 -409 N
+P 2 0 1 8  150 370  150 -390 N
+X 1 1 -450 -400 300 R 60 60 1 1 P
+X 2 2 -450 -200 300 R 60 60 1 1 P
+X 3 3 -450 0 300 R 60 60 1 1 P
+X 4 4 -450 200 300 R 60 60 1 1 P
+X 5 5 -450 400 300 R 60 60 1 1 P
+X P6 6 -450 -300 300 R 60 60 1 1 P
+X P7 7 -450 -100 300 R 60 60 1 1 P
+X P8 8 -450 100 300 R 60 60 1 1 P
+X P9 9 -450 300 300 R 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# DIODE
+#
+DEF DIODE D 0 40 N N 1 F N
+F0 "D" 0 100 40 H V C CNN
+F1 "DIODE" 0 -100 40 H V C CNN
+$FPLIST
+ D?
+ S*
+$ENDFPLIST
+DRAW
+P 2 0 1 6  50 50  50 -50 N
+P 3 0 1 0  -50 50  50 0  -50 -50 F
+X A 1 -200 0 150 R 40 40 1 1 P
+X K 2 200 0 150 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# GND
+#
+DEF ~GND #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 0 30 H I C CNN
+F1 "GND" 0 -70 30 H I C CNN
+DRAW
+P 4 0 1 0  -50 0  0 -50  50 0  -50 0 N
+X GND 1 0 0 0 U 30 30 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# LED
+#
+DEF LED D 0 40 Y N 1 F N
+F0 "D" 0 100 50 H V C CNN
+F1 "LED" 0 -100 50 H V C CNN
+$FPLIST
+ LED-3MM
+ LED-5MM
+ LED-10MM
+ LED-0603
+ LED-0805
+ LED-1206
+ LEDV
+$ENDFPLIST
+DRAW
+P 2 0 1 0  50 50  50 -50 N
+P 3 0 1 0  -50 50  50 0  -50 -50 F
+P 3 0 1 0  65 -40  110 -80  105 -55 N
+P 3 0 1 0  80 -25  125 -65  120 -40 N
+X A 1 -200 0 150 R 40 40 1 1 P
+X K 2 200 0 150 L 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# MAX232
+#
+DEF MAX232 U 0 40 Y Y 1 F N
+F0 "U" 0 850 70 H V C CNN
+F1 "MAX232" 0 -850 70 H V C CNN
+ALIAS MAX202
+DRAW
+T 900 80 -530 40 0 0 0 RS232  Normal 0 C C
+T 900 -100 -530 40 0 0 0 TTL  Normal 0 C C
+S -500 -800 500 800 0 1 0 N
+P 3 0 1 0  -500 -300  500 -300  500 -300 N
+P 3 0 1 0  0 -300  0 -800  0 -800 N
+X C1+ 1 -800 700 300 R 60 50 1 1 I
+X V+ 2 800 300 300 L 60 50 1 1 w
+X C1- 3 -800 300 300 R 60 50 1 1 I
+X C2+ 4 -800 200 300 R 60 50 1 1 I
+X C2- 5 -800 -200 300 R 60 50 1 1 I
+X V- 6 800 -200 300 L 60 50 1 1 w
+X T2OUT 7 800 -500 300 L 60 50 1 1 O
+X R2IN 8 800 -700 300 L 60 50 1 1 I
+X R2OUT 9 -800 -700 300 R 60 50 1 1 O
+X T2IN 10 -800 -500 300 R 60 50 1 1 I
+X T1IN 11 -800 -400 300 R 60 50 1 1 I
+X R1OUT 12 -800 -600 300 R 60 50 1 1 O
+X R1IN 13 800 -600 300 L 60 50 1 1 I
+X T1OUT 14 800 -400 300 L 60 50 1 1 O
+X GND 15 800 100 300 L 60 50 1 1 W
+X VCC 16 800 700 300 L 60 50 1 1 W
+ENDDRAW
+ENDDEF
+#
+# R
+#
+DEF R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R" 0 0 50 V V C CNN
+$FPLIST
+ R?
+ SM0603
+ SM0805
+ R?-*
+ SM1206
+$ENDFPLIST
+DRAW
+S -40 150 40 -150 0 1 12 N
+X ~ 1 0 250 100 D 60 60 1 1 P
+X ~ 2 0 -250 100 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# VCC
+#
+DEF VCC #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 100 30 H I C CNN
+F1 "VCC" 0 100 30 H V C CNN
+DRAW
+X VCC 1 0 0 0 U 20 20 0 0 W N
+C 0 50 20 0 1 0 N
+P 3 0 1 0  0 0  0 30  0 30 N
+ENDDRAW
+ENDDEF
+#
+# VSS
+#
+DEF VSS #PWR 0 0 Y Y 1 F P
+F0 "#PWR" 0 0 30 H I C CNN
+F1 "VSS" 0 -70 30 H V C CNN
+DRAW
+P 4 0 1 0  -50 0  0 -50  50 0  -50 0 N
+X VSS 1 0 0 0 U 30 30 1 1 W N
+ENDDRAW
+ENDDEF
+#
+#End Library
