def clockwise(self, speed):
    seq = stepper.clockwise
self.WaitTime = 1.0 / (self.stepNum * self.coilNum) * speed
for pin in range(0, 4):
    pass
'instancemethod' object has no attribute '__getitem__' with class variables