mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-16 08:07:20 +00:00
add new hal for double H bridge stepper motor driver
This commit is contained in:
1 parent
de2b01cbcb
commit
ea9db33b19
7 files changed
+401
-52
No files matched your search
+5
-1
@@ -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 -----")
|
||||
|
||||
Reference in new issue
Block a user