-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
176 lines (167 loc) · 3.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<html>
<head>
<script src="include/jquery.js"></script>
<script src="gEDA.js"></script>
</head>
<body>
Example schematic, a circuit with a battery, resistor and LED (GAF file created with GSchem):<br/>
<!--
gEDA/gaf is a FOSS format for schematics.
It is used by the gEDA suite.
Specification is available at http://wiki.geda-project.org/geda:file_format_spec
Parser is at js/parsers/gaf.js
gEDA.js will import the <geda-schematic> below and replace it with an SVG, rendering the contained schematic.
-->
<geda-project>
<geda-schematic format="application/gaf">
v 20130925 2
C 40000 40000 0 0 0 title-B.sym
C 46900 47700 1 0 0 battery-1.sym
{
T 47200 48600 5 10 0 0 0 0 1
device=BATTERY
T 47200 48200 5 10 1 1 0 0 1
refdes=B?
T 47200 49000 5 10 0 0 0 0 1
symversion=0.1
}
C 45800 46300 1 90 0 resistor-2.sym
{
T 45450 46700 5 10 0 0 90 0 1
device=RESISTOR
T 45500 46500 5 10 1 1 90 0 1
refdes=R?
}
C 46900 44800 1 0 0 led-3.sym
{
T 47850 45450 5 10 0 0 0 0 1
device=LED
T 47350 45350 5 10 1 1 0 0 1
refdes=D?
}
N 47600 47900 47800 47900 4
N 47800 47900 47800 45000 4
N 46900 45000 45700 45000 4
N 45700 45000 45700 46300 4
N 45700 47200 45700 47900 4
N 45700 47900 46900 47900 4
</geda-schematic>
<geda-library>
<geda-component component="battery-1.sym" format="application/gaf">
v 20050820 1
P 0 200 200 200 1 0 0
{
T 150 250 5 8 1 1 0 6 1
pinnumber=1
T 200 150 5 8 0 1 0 8 1
pinseq=1
T 200 200 9 8 0 1 0 0 1
pinlabel=+
T 350 200 5 8 0 1 0 2 1
pintype=pwr
}
P 700 200 500 200 1 0 0
{
T 550 250 5 8 1 1 0 0 1
pinnumber=2
T 550 150 5 8 0 1 0 2 1
pinseq=2
T 500 200 9 8 0 1 0 6 1
pinlabel=-
T 350 200 5 8 0 1 0 8 1
pintype=pwr
}
L 300 400 300 0 3 0 0 0 -1 -1
L 400 300 400 100 3 0 0 0 -1 -1
T 300 900 5 10 0 0 0 0 1
device=BATTERY
L 500 200 400 200 3 0 0 0 -1 -1
L 200 200 300 200 3 0 0 0 -1 -1
T 300 500 8 10 1 1 0 0 1
refdes=B?
T 300 1100 5 10 0 0 0 0 1
description=Battery
T 300 700 5 10 0 0 0 0 1
numslots=0
T 300 1300 5 10 0 0 0 0 1
symversion=0.1
</geda-component>
<geda-component component="resistor-2.sym" format="application/gaf">
v 20081221 2
P 900 100 750 100 1 0 0
{
T 800 150 5 8 0 1 0 0 1
pinnumber=2
T 800 150 5 8 0 0 0 0 1
pinseq=2
T 800 150 5 8 0 1 0 0 1
pinlabel=2
T 800 150 5 8 0 1 0 0 1
pintype=pas
}
P 0 100 150 100 1 0 0
{
T 100 150 5 8 0 1 0 0 1
pinnumber=1
T 100 150 5 8 0 0 0 0 1
pinseq=1
T 100 150 5 8 0 1 0 0 1
pinlabel=1
T 100 150 5 8 0 1 0 0 1
pintype=pas
}
B 150 0 600 200 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
T 400 350 5 10 0 0 0 0 1
device=RESISTOR
T 200 300 8 10 1 1 0 0 1
refdes=R?
</geda-component>
<geda-component component="led-3.sym" format="application/gaf">
v 20031231 1
L 600 0 600 400 3 0 0 0 -1 -1
L 600 0 300 200 3 0 0 0 -1 -1
T 950 650 5 10 0 0 0 0 1
device=LED
L 300 200 600 400 3 0 0 0 -1 -1
L 300 0 300 400 3 0 0 0 -1 -1
P 0 200 200 200 1 0 0
{
T 200 150 5 8 0 1 180 0 1
pinnumber=1
T 800 650 9 8 0 1 180 0 1
pinlabel=CATHODE
T 900 850 5 8 0 0 180 0 1
pintype=pas
T 600 950 5 8 0 0 180 0 1
pinseq=1
}
P 900 200 700 200 1 0 0
{
T 800 150 5 8 0 1 180 0 1
pinnumber=2
T 1400 150 9 8 0 1 180 0 1
pinlabel=ANODE
T 1000 350 5 8 0 0 180 8 1
pintype=pas
T 1000 250 5 8 0 0 180 8 1
pinseq=2
}
L 200 200 300 200 3 0 0 0 -1 -1
L 600 200 700 200 3 0 0 0 -1 -1
T 450 550 8 10 1 1 0 0 1
refdes=D?
L 500 400 400 500 3 0 0 0 -1 -1
L 400 400 300 500 3 0 0 0 -1 -1
L 300 500 325 450 3 0 0 0 -1 -1
L 300 500 350 475 3 0 0 0 -1 -1
L 400 500 425 450 3 0 0 0 -1 -1
L 400 500 450 475 3 0 0 0 -1 -1
T 950 550 5 10 0 0 0 0 1
description=Generic LED
T 950 450 5 10 0 0 0 0 1
numslots=0
</geda-component>
</geda-library>
</geda-project>
</body>
</html>