HackUTOKYOv2Pim

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4a052e17457cea717f030e45c065ffe651146b18
parent 5b7154963966c4495e48905aa1f2c33a5a6f941b
Author: 諒太 林 <ryouturn@gmail.com>
Date:   Fri, 30 Aug 2024 20:37:08 +0900

update test

Diffstat:
Mtest.py | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git a/test.py b/test.py @@ -12,17 +12,11 @@ enabPin = 23 camLimit = 5 -#GPIO.setmode(GPIO.BCM) # GPIOで指定 -#GPIO.setup(enabPin, GPIO.OUT) # 2:Enableに定義 -#GPIO.setup(dircPin, GPIO.OUT) # 3:Dir -#GPIO.setup(stepPin, GPIO.OUT) # 4:Step - #GPIO.setup(17, GPIO.OUT)#17:MS1 #GPIO.setup(27, GPIO.OUT)#27:MS2 #GPIO.setup(22, GPIO.OUT)#22:MS3 def main(): - #GPIO.output(enabPin, 0) while(True): ret, frame = cap.read() @@ -40,13 +34,8 @@ def main(): elif count[1] >= camLimit: escapeL - cv2.imshow('frame',frame) - cv2.imshow('mos',mos) - if cv2.waitKey(1) != -1: break - - #GPIO.cleanup() #逆かもしれない def escapeR():