motor test
This commit is contained in:
parent
d963234066
commit
220cd6610d
@ -2,6 +2,7 @@ import RPi.GPIO as GPIO
|
||||
from flask import Flask, render_template, request
|
||||
from src.einstellungen import *
|
||||
from src.schrittmotor import motor
|
||||
import time
|
||||
|
||||
kamera_server = Flask(__name__)
|
||||
|
||||
@ -25,6 +26,11 @@ m2 = motor('kippen', m2_a1, m2_b1, m2_a2, m2_b2, m2_t1, m2_t2, m2_te, m2_es, 1,
|
||||
m1.start()
|
||||
m2.start()
|
||||
|
||||
time.sleep(5)
|
||||
|
||||
m1.stop()
|
||||
m2.stop()
|
||||
|
||||
print(dir(m2.pwm4))
|
||||
print(dir(m3_pwm4))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user