LaundrySorcery

git clone git://xatko.vsos.ethz.ch/LaundrySorcery.git
Log | Files | Refs

Schematics.gle (643B)


      1 size 15 7.5
      2 
      3 include "electronics.gle"
      4 
      5 sub pmove p
      6 	amove pointx(p) pointy(p)
      7 end sub
      8 
      9 termrad = 0.25
     10 dist=0.25
     11 
     12 amove 0 6-termrad
     13 set just LEFT
     14 begin name gpio17
     15 	text GPIO17
     16 end name
     17 amove pointx(gpio17.rc) pointy(gpio17.rc)
     18 rmove termrad+dist 0
     19 circle termrad
     20 rmove termrad 0
     21 rline 1 0
     22 @resistor_h "LDR"
     23 rline 0.5 0
     24 save con
     25 @connection
     26 @capacitor_v "1µF"
     27 rmove 0 -termrad
     28 circle termrad
     29 rmove 0 -termrad-dist
     30 set justify tc
     31 text GND
     32 
     33 amove pagewidth() pointy(con)
     34 set justify rc
     35 begin name gpio18
     36 	text GPIO18
     37 end name
     38 amove pointx(gpio18.lc)-dist-termrad pointy(gpio18.lc)
     39 circle termrad
     40 rmove -termrad 0
     41 aline pointx(con) pointy(con)
     42