18 lines
291 B
Python
18 lines
291 B
Python
from spectrometer.motor import Motor
|
|
from spectrometer.utils.utils import setup_cleanup
|
|
|
|
|
|
def main():
|
|
setup_cleanup()
|
|
motor = Motor([13, 19, 26])
|
|
motor.setup()
|
|
motor.set_speed(10)
|
|
|
|
while True:
|
|
input()
|
|
motor.step(1)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|