mirror of
https://github.com/KevinMidboe/curtains_avantGarde.git
synced 2025-10-29 01:20:18 +00:00
Select a motor and rotate it.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# @Author: KevinMidboe
|
||||
# @Date: 2017-08-25 12:33:01
|
||||
# @Last Modified by: KevinMidboe
|
||||
# @Last Modified time: 2017-08-25 17:35:33
|
||||
|
||||
from stepper import Stepper
|
||||
|
||||
def main():
|
||||
leftMotor = stepper([17, 18, 27, 22])
|
||||
leftMotor.step(2, 'Left')
|
||||
leftMotor.cleanGPIO()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user