commit 5639ee38a7d2fca3b9cf76f0cc07f523f9090317
parent 30e19c38a28de8e24509c7a9dec8c797f8b63d71
Author: 諒太 林 <ryouturn@gmail.com>
Date: Sat, 31 Aug 2024 04:03:36 +0900
update main
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hacku-tokyo-v2-pim.py b/hacku-tokyo-v2-pim.py
@@ -12,7 +12,6 @@ enabPin = 23
camLimit = 5
-place = 0
GPIO.setmode(GPIO.BCM) # GPIOで指定
GPIO.setup(enabPin, GPIO.OUT) # 2:Enableに定義
@@ -24,7 +23,7 @@ GPIO.setup(stepPin, GPIO.OUT) # 4:Step
#GPIO.setup(22, GPIO.OUT)#22:MS3
def main():
-
+ place = 0
GPIO.output(enabPin, 0)
for i in range(0,15):
place = escapeR(place)