We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42684b commit 03e5624Copy full SHA for 03e5624
Software/Python/easygopigo3.py
@@ -12,8 +12,11 @@
12
import gopigo3
13
except ImportError:
14
hardware_connected = False
15
-except:
+ print("Cannot import gopigo3 library")
16
+except Exception as e:
17
18
+ print("Unknown issue while importing gopigo3")
19
+ print(e)
20
21
22
# from datetime import datetime
Software/Python/gopigo3.py
@@ -18,6 +18,7 @@
import fcntl # for lockf mutex support
except:
+ print ("Can't import spidev or fcntl")
23
import math # import math for math.pi constant
24
import time
0 commit comments