Advertisement
silver2row

Trying things...

Oct 24th, 2020 (edited)
2,830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.65 KB | None | 0 0
  1. # From Seeed Studio and Mr. Li '15
  2. # Changes by Seth '20
  3.  
  4. import MotorBridge
  5. from time import sleep
  6.  
  7. def StepperMotorATest(self, atest):
  8.     motor.StepperMotorAInit()
  9.     self.self = self
  10.     self.atest = atest
  11.  
  12. try:
  13.     if __name__=="__main__":
  14.         motor = MotorBridge.MotorBridgeCape()
  15.         i = int(input("Please enter a number between 0 and 30000: "))
  16.         for i in range(1, 30000):
  17.             self = StepperMotorATest(1, 1)
  18.         a = int(input("Please enter a number between 0 and 35000: "))
  19.         for a in range(1, 35000):
  20.             aTest = StepperMotorATest(1, 1)
  21. except KeyboardInterrupt:
  22.     print("Making Headway?")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement