diff --git a/script/local.py b/script/local.py index 828cfd3..0eaf709 100644 --- a/script/local.py +++ b/script/local.py @@ -36,6 +36,13 @@ def close_shutter(): """ shutter.write("Off") + +def transm_up(factor = 10.0): + transm.write(min(transm.read() * factor, 1.0)) + +def transm_down(factor = 10.0): + transm.write(transm.read() / factor) + ################################################################################################### # Pseudo-devices ###################################################################################################