Skip to content

Commit

Permalink
Add ozonizer pin to ald_init
Browse files Browse the repository at this point in the history
  • Loading branch information
reszelaz committed Jan 22, 2021
1 parent 43e1fed commit e116111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lastm_ald2/sardana/macro/ald.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def run(self):
ctrl_proxy = ctrl.getDeviceProxy()
raspi_name = ctrl_proxy.get_property("device")["device"][0]
raspi_proxy = tango.DeviceProxy(raspi_name)
axes.append(8) # ozonizer
for axis in axes:
self.output("Setting PIN %d to output" % axis)
raspi_proxy.write_attribute("pin%d_output" % axis, True)
Expand Down

0 comments on commit e116111

Please sign in to comment.