Commit 18a4a9e5 authored by Joel Collins's avatar Joel Collins
Browse files

Added method to zero positions

parent 57832f94
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -174,6 +174,10 @@ class Sangaboard(ExtensibleSerialInstrument):
        """De-energise the stepper motor coils"""
        self.query("release")

    def zero(self):
        """Zero the stored motor positions"""
        self.query("zero")

    def move_abs(self, final, **kwargs):
        """Make an absolute move to a position