Esempio n. 1
0
def sendCommands(sid, data):
    CAN.command(data)
Esempio n. 2
0
def sendCommands(message):
    msg = message.payload.decode('utf-8').replace("'", '"')
    msg = json.loads(msg)
    CAN.command(msg)