Files
PyCNC/hal.py
Nikolay Khabarov b70dd3c9ea first commit
2017-05-10 04:25:12 +03:00

9 lines
250 B
Python

#!/usr/bin/env python
try:
from hal_rpi import *
except ImportError:
print("----- Hardware not detected, using virtual environment -----")
print("----- Use M111 command to enable more detailed debug -----")
from hal_virtual import *