manual_stepper: Add an "extras" module for manually controlling a stepper

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-02-08 20:11:05 -05:00
parent 57e6acbc5c
commit 2d7c3a84ee
8 changed files with 201 additions and 3 deletions

View File

@@ -259,7 +259,7 @@ def decode_tmc2208_read(reg, data):
class TMC2208:
def __init__(self, config):
self.printer = config.get_printer()
self.name = config.get_name().split()[1]
self.name = config.get_name().split()[-1]
self.printer.register_event_handler("klippy:connect",
self.handle_connect)
# pin setup