質問編集履歴
2
matigaeta
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
「gr_sketch.cpp:246:25: error: call of overloaded 'write(unsigned char&, int)' is ambiguous」というエラーが出てしまっていて困っています。助けてください・・・
|
6
6
|
|
7
7
|
以下はそのプログラムです
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
```
|
12
|
+
|
13
|
+
c++
|
8
14
|
|
9
15
|
|
10
16
|
|
@@ -107,3 +113,5 @@
|
|
107
113
|
Serial.write(t.second, DEC);
|
108
114
|
|
109
115
|
}
|
116
|
+
|
117
|
+
```
|
1
まちがえあた
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,27 +22,7 @@
|
|
22
22
|
|
23
23
|
#include <RTC.h>
|
24
24
|
|
25
|
-
#define CSV "C"
|
26
25
|
|
27
|
-
#define PING "5" //0101
|
28
|
-
|
29
|
-
#define ACK 11 //1011
|
30
|
-
|
31
|
-
#define DATA_BLOCK "4" //0100
|
32
|
-
|
33
|
-
#define FLAG "7" //0111
|
34
|
-
|
35
|
-
#define TIME_BLOCK 6 //0110
|
36
|
-
|
37
|
-
#define FINISH 15 //1111
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
char r;//応答メッセージ変数
|
42
|
-
|
43
|
-
char p;//PC側終了メッセージ
|
44
|
-
|
45
|
-
int tim=211520;//時間
|
46
26
|
|
47
27
|
int c = 0;
|
48
28
|
|