-
Notifications
You must be signed in to change notification settings - Fork 21
/
Custom.erbui
52 lines (43 loc) · 958 Bytes
/
Custom.erbui
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
// Custom.erbui
import "manufacturer/ElectroDemo.erbui"
module Custom {
width 12hp
material pcb
header { label "CUSTOM" }
board {
class "Board"
include "board/Board.h"
pcb "board/board.kicad_pcb"
sch "board/board.kicad_sch"
width 12hp
pin P1 Pot { bind "p(0)" }
pin LD1 Led { type gpio bind "ld(0)" }
pin AI1 AudioIn { bind "ai(0)" }
pin AO1 AudioOut { bind "ao(0)" }
}
manufacturer ElectroDemo
route manual
image "silkscreen.svg"
image "translucence.svg" { layer translucence }
control freq Pot {
position 6hp, 34mm
style rogan, 6ps
label "FREQ"
pin P1
}
control antenna Led {
position 35mm, 77mm
style red, behind
pin LD1
}
control audio_in AudioIn {
position 6hp, 96mm
label "IN"
pin AI1
}
control audio_out AudioOut {
position 6hp, 111mm
label "OUT"
pin AO1
}
}