Writing a Switch Driver

FlexOTO Instance:
Hardware Diagram

Your switch driver must respond to the following argument and four commands from FlexOTO:

All messages are read by the driver using stdin. For example, in Python you would use the input() statement. All messages are sent by the driver to FlexOTO using stdout. For example, in Python you would use the print() statement.