HackUTOKYOv2Pim

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

commit 4644192038877db2179eea6e25d190591bb33195
parent 3f17d8fc91803def8e2e6624d2b7b2df4f6d9fe8
Author: 諒太 林 <ryouturn@gmail.com>
Date:   Sat, 31 Aug 2024 08:21:22 +0900

enablePin

Diffstat:
Mtest.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test.py b/test.py @@ -21,6 +21,7 @@ GPIO.setup(dircPin, GPIO.OUT) # 3:Dir GPIO.setup(stepPin, GPIO.OUT) # 4:Step def main(): + GPIO.output(enabPin, 0) print("escapeR") GPIO.output(dircPin, 0) for num in range(0,1000): @@ -36,6 +37,6 @@ try: except KeyboardInterrupt: print('interrupted!') GPIO.cleanup() - + GPIO.cleanup() cv2.destroyAllWindows() \ No newline at end of file