質問編集履歴
1
訂正と付け足し
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,9 +20,15 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
+
servo_pin_1=27
|
24
|
+
|
25
|
+
servo_pin_2=17
|
26
|
+
|
27
|
+
|
28
|
+
|
23
|
-
GPIO.setup(
|
29
|
+
GPIO.setup(servo_pin_1, GPIO.OUT)
|
24
|
-
|
30
|
+
|
25
|
-
GPIO.setup(
|
31
|
+
GPIO.setup(servo_pin_2, GPIO.OUT)
|
26
32
|
|
27
33
|
Servo1 = GPIO.PWM(servo_pin_1, 50)
|
28
34
|
|