The normal control-flow of the program should not be changed just because a Phidget is being used.
Code: Select all
def main():
try:
scale = VoltageRatioInput()
scale.openWaitForAttachment(5000)
while True:
pass
except KeyboardInterrupt:
print("Got KB interrupt")