diff --git a/kamera_server.py b/kamera_server.py index 06c5cf8..9694e5b 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -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))