modified py

This commit is contained in:
2022-10-24 17:35:24 +02:00
parent 53105d5935
commit aedad94aaf
2 changed files with 2 additions and 3 deletions

View File

@@ -44,10 +44,9 @@ else:
try:
# If the rpi_ws281x Python module is available, then use that...
from raspberrypihal import RaspberryPiHAL as HAL
except :
except exception as e:
# ...else assume that there's an MCU (driving the display) connected
# to a serial port
e = sys.exc_info()[0]
print('HAL: failed: {}'.format(e.args[0]))
from arduinoserialhal import ArduinoSerialHAL as HAL