質問編集履歴
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
servo.write(A);の所で'A'was not declared in this scopeとエラーがでます。
|
2
2
|
どのように改善すればよいでしょうか。回答お願いします
|
3
3
|
|
4
4
|
#include<stdio.h>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
void setup(){
|
10
10
|
|
11
11
|
servo.attach(9);
|
12
|
-
double a,b,c,A;
|
12
|
+
double a,b,c,A,degree;
|
13
13
|
a=10;
|
14
14
|
b=20;
|
15
15
|
c=30;
|