# IO Routing -- Lionel, December 2012 # # Line format: # INPUTS:OUTPUTS:INPUT FUNCTION:OUTPUT FUNCTION:COMMENTS # Example: # 1,3,5,7,9:2,4,6,8,10:OR:DIRECT:The rest of the line is ignored # # INPUT LIST: input numbers from inputs.txt separated by commas # OUTPUT LIST: output numbers from outputs.txt separated by commas # INPUT FUNCTION: The function to interpret this input group with # OUTPUT FUNCTION: The function to interpret this output group with # # INPUT FUNCTIONS: # OR -- The inputs are logically or'd together # AND -- The inputs are logically and'd together # # OUTPUT FUNCTIONS: # DIRECT -- The outputs will logically follow the result of the input function # INVERSE -- The outputs will be the inverse of the result of the input function # TOGGLE -- Change the state of each output in the output group # SET -- Raise the output group when the input function evaluates to 1 # CLEAR -- Clear the output group when the input function evaluatges to 1 1,3,5,7,9:2,4,6,8,10:OR:DIRECT:The rest of the line is ignored 2,4,6:17,18,19:AND:INVERSE:Comment 15:15:OR:TOGGLE:Comment 16:15:OR:SET:Comment #17:15:OR:CLEAR:Comment 17:78:OR:DIRECT:comment