template/escalator/config/plc.yml in ladder_drive-0.4.1 vs template/escalator/config/plc.yml in ladder_drive-0.5.0

- old
+ new

@@ -17,9 +17,33 @@ cpu: kv-5000 protocol: kv_protocol host: 192.168.0.11 # port: 8501 + # Raspberry Pi + raspberrypi: + cpu: Raspberry Pi + io: # assign gpio to x and y + inputs: + x0: + pin: 4 # gpio no + pull: up # up | down | off + invert: true + x1: + pin: 17 + pull: up + invert: true + x2: + pin: 27 + pull: up + invert: true + outputs: + y0: + pin: 18 + y1: + pin: 23 + y2: + pin: 42 # default section default: # If you set target iq-r, `rake` is same as `rake target=iq-r`. # default target is emulator.