add new hal for double H bridge stepper motor driver

This commit is contained in:
sinseman44
2020-09-12 23:19:18 +01:00
parent de2b01cbcb
commit ea9db33b19
7 changed files with 401 additions and 52 deletions
+5 -1
View File
@@ -98,7 +98,11 @@
# check which module to import
try:
from cnc.hal_raspberry.hal import *
from cnc.config import *
if ENABLE_L293D:
from cnc.hal_raspberry.hal2 import *
else:
from cnc.hal_raspberry.hal import *
except ImportError:
print("----- Hardware not detected, using virtual environment -----")
print("----- Use M111 command to enable more detailed debug -----")