Some code to control a jumperless breadboard through stream chat commands
chat commands start with an exclamation point ! and are followed by the function and parameters as specified in the jumperless documentation.
actions can be mostly any function from the jumperless micropython API
refer to the acl.py file to see a complete list of allowed functions, constants, and rows.
!connect(GND, 1)
!disconnect(T_RAIL, 5)
!connect(6, B_RAIL)
!connect(7,TOP_RAIL)
!connect(T_RAIL, -1)
currently it's two functions:
start_term_listen() - takes input from the terminal as if it was a chat command, you know, for debugging
start_chat_listen("tFMVXBqy6nU") - pass it a youtube stream ID and every message will be parsed every X seconds for commands
there is a dictionary in the acl.py which will allow any item within to be handled by the jumperless via chat commands. If you wish to prevent a certain function, constant, or row from being used then be sure to remove it from the acl definition