質問編集履歴
2
大変失礼いたしました. 修正いたしました.
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
UDP通信を行おうとするとうまくいきません.
|
9
9
|
|
10
10
|
ソースコードを以下に添付いたします.
|
11
|
-
|
11
|
+
```ここに言語を入力
|
12
12
|
#include <M5Stack.h>
|
13
13
|
#include <SPI.h>
|
14
14
|
#include <Ethernet2.h>
|
@@ -46,4 +46,8 @@
|
|
46
46
|
}
|
47
47
|
|
48
48
|
|
49
|
+
```
|
50
|
+
|
51
|
+
|
52
|
+
|
49
53
|
よろしくお願いいたします.
|
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
#include <Ethernet2.h>
|
15
15
|
#include <EthernetUdp2.h>
|
16
16
|
|
17
|
-
byte mac[] = {0x24, 0x0A, 0xC4, 0xF8, 0x54,
|
17
|
+
byte mac[] = {0x24, 0x0A, 0xC4, 0xF8, 0x54, 0xC8};
|
18
18
|
|
19
19
|
const IPAddress ip(192,168,3,147);
|
20
20
|
const IPAddress gateway(192,168,3,254);
|