Module to send commands to an Arduino based on a time table.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from arduino_timetable import run_application
|
|
|
|
|
|
|
|
if __name__=='__main__':
|
|
|
|
arduino_commands = {'open': 'o', 'close': 'c'}
|
|
|
|
run_application(
|
|
|
|
arduino_commands,
|
|
|
|
"It's a trap!",
|
|
|
|
icon='Household-Mouse-Trap.ico'
|
|
|
|
)
|