質問編集履歴

1

2016/09/20 02:20

投稿

msyk23p2
msyk23p2

スコア14

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- degree=A*180.0/PI;の所で'degree'was not declared in this scopeとエラーがでます。
1
+ servo.write(A);の所で'A'was not declared in this scopeとエラーがでます。
2
2
 
3
3
  どのように改善すればよいでしょうか。回答お願いします
4
4
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  servo.attach(9);
22
22
 
23
- double a,b,c,A;
23
+ double a,b,c,A,degree;
24
24
 
25
25
  a=10;
26
26