nmbooker / upy-switch-led-panel

MicroPython switch and LED panel for PC
GNU General Public License v3.0
0 stars 0 forks source link

Marrying up pins to jobs #2

Closed nmbooker closed 8 years ago

nmbooker commented 8 years ago

Read a text file, perhaps /etc/upy-switch-panel/jobtab

Possible format:

# jobname switchpin ledpin
myjob Y1 X1
myjob2 Y2 X2
nmbooker commented 8 years ago

Default table is /usr/local/etc/upy-switch-systemd/jobtab, or a path can be specified with --jobtab=/path/to/jobtab