7 lines
180 B
Python
7 lines
180 B
Python
|
|
class AnalogInput(ReadonlyRegisterBase):
|
|
def doRead(self):
|
|
return cam_server.getValue("x_rms")
|
|
|
|
add_device(AnalogInput("tst"), True)
|
|
tst.setPolling(10) |