summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/Connectors.m4
blob: 16a66c2bd035f6776dc9a5c5991120f59f40c332 (plain)
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
.PS
# Connectors.m4
log_init
include(ics.m4)

  ifelse(ifpgf(T)`'ifpstricks(T),T,`command "{\small\sf"')

# ArduinoUno
 Ar:  ArduinoLeonardo #with .sw at last [].se+(0.25,0)

 RPI: RPi with .sw at last [].se+(0.25,0)

 HD: HDMI_micro with .nw at last [].ne+(0.25,0.5)

 S: USB_C_Socket with .sw at (HD.e.x+0.25,RPI.s.y)

  ifelse(ifpgf(T)`'ifpstricks(T),T,`command "}"')

  "{\sf Arduino Leonardo}" at Ar.Connector.s below
  "{\sf Raspberry Pi 4 GPIO}" at RPI.GPIO.s below
  "\sf Micro" rjust at HD.Base.sw+(-2bp__,0) "\sf HDMI" rjust

  "\sf USB-C Socket" at S.Base.s below
  "\sf B12" at S.B12.end above ljust
  "\sf B1" at S.B1.end above ljust
  "\sf A1" at S.A1.end above rjust
  "\sf A12" at S.A12.end above rjust

.PE