nmbooker / upy-switch-led-panel

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

Synchronisation and (re-)initialisation #1

Open nmbooker opened 8 years ago

nmbooker commented 8 years ago

Haven't decided how I'll handle the host or the pyboard going offline. When the host dies, the LEDs will be left on in their current state, and if the pyboard is unplugged the serial port will suddenly disappear which will break the host-side script.

nmbooker commented 8 years ago

I've sorted out the second half by getting systemd to manage starting and stopping the script when the device is plugged and unplugged.