Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # From Seeed Studio and Mr. Li '15
- # Changes by Seth '20
- import MotorBridge
- from time import sleep
- def StepperMotorATest(self, atest):
- motor.StepperMotorAInit()
- self.self = self
- self.atest = atest
- try:
- if __name__=="__main__":
- motor = MotorBridge.MotorBridgeCape()
- i = int(input("Please enter a number between 0 and 30000: "))
- for i in range(1, 30000):
- self = StepperMotorATest(1, 1)
- a = int(input("Please enter a number between 0 and 35000: "))
- for a in range(1, 35000):
- aTest = StepperMotorATest(1, 1)
- except KeyboardInterrupt:
- print("Making Headway?")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement