mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-21 08:48:13 +00:00
hardware watchdog
This commit is contained in:
1 parent
c09fd31457
commit
978f5f71d8
8 files changed
+126
-8
No files matched your search
@@ -6,6 +6,7 @@ from cnc.pulses import *
|
||||
from cnc.coordinates import *
|
||||
from cnc.heater import *
|
||||
from cnc.enums import *
|
||||
from cnc.watchdog import *
|
||||
|
||||
|
||||
class GMachineException(Exception):
|
||||
@@ -35,6 +36,7 @@ class GMachine(object):
|
||||
self._heaters = dict()
|
||||
self.reset()
|
||||
hal.init()
|
||||
self.watchdog = HardwareWatchdog()
|
||||
|
||||
def release(self):
|
||||
""" Free all resources.
|
||||
|
||||
Reference in new issue
Block a user