質問編集履歴
4
<code> タグで修正の試み
title
CHANGED
File without changes
|
body
CHANGED
@@ -24,7 +24,8 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
+
```ここに言語を入力
|
27
|
-
|
28
|
+
#include "ESP8266.h"
|
28
29
|
#include "Milkcocoa.h"
|
29
30
|
#include "Client_ESP8266.h"
|
30
31
|
|
@@ -114,6 +115,7 @@
|
|
114
115
|
Serial.println("onpush");
|
115
116
|
Serial.println(pelem->getInt("v"));
|
116
117
|
};
|
118
|
+
```
|
117
119
|
|
118
120
|
|
119
121
|
###試したこと
|
3
#の確認
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
2
ソース後の ``` を除きました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,6 +21,9 @@
|
|
21
21
|
|
22
22
|
###該当のソースコード
|
23
23
|
試したのは、ArduinoIDEのメニューからファイル>スケッチの例>MilkcocoaArduino SDK > milkcocoa_esp8266 のスケッチで、MEGAに合わせて、wifi.begin()を、Serial5からSerial1に変更しました(https://github.com/exshonda/ESP8266_Arduino_AT を参考にしました)。
|
24
|
+
|
25
|
+
|
26
|
+
|
24
27
|
```#include "ESP8266.h"
|
25
28
|
#include "Milkcocoa.h"
|
26
29
|
#include "Client_ESP8266.h"
|
@@ -110,7 +113,7 @@
|
|
110
113
|
void onpush(DataElement *pelem) {
|
111
114
|
Serial.println("onpush");
|
112
115
|
Serial.println(pelem->getInt("v"));
|
113
|
-
};
|
116
|
+
};
|
114
117
|
|
115
118
|
|
116
119
|
###試したこと
|
1
ソースの前後に”```”を挿入しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
###該当のソースコード
|
23
23
|
試したのは、ArduinoIDEのメニューからファイル>スケッチの例>MilkcocoaArduino SDK > milkcocoa_esp8266 のスケッチで、MEGAに合わせて、wifi.begin()を、Serial5からSerial1に変更しました(https://github.com/exshonda/ESP8266_Arduino_AT を参考にしました)。
|
24
|
-
#include "ESP8266.h"
|
24
|
+
```#include "ESP8266.h"
|
25
25
|
#include "Milkcocoa.h"
|
26
26
|
#include "Client_ESP8266.h"
|
27
27
|
|
@@ -110,7 +110,7 @@
|
|
110
110
|
void onpush(DataElement *pelem) {
|
111
111
|
Serial.println("onpush");
|
112
112
|
Serial.println(pelem->getInt("v"));
|
113
|
-
};
|
113
|
+
};```
|
114
114
|
|
115
115
|
|
116
116
|
###試したこと
|