add exception output

This commit is contained in:
2021-01-24 14:41:39 +01:00
parent 11d9a58a55
commit 6bd6dd2e1c
2 changed files with 1 additions and 5 deletions

View File

@@ -47,6 +47,7 @@ else:
except:
# ...else assume that there's an MCU (driving the display) connected
# to a serial port
print('HAL: failed: {}'.format(e.args[0]))
from arduinoserialhal import ArduinoSerialHAL as HAL
gc.collect()