質問編集履歴
2
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,6 +10,8 @@
|
|
10
10
|
|
11
11
|
```python
|
12
12
|
|
13
|
+
testgpio.py
|
14
|
+
|
13
15
|
#!/usr/bin/env python
|
14
16
|
|
15
17
|
# coding:utf-8
|
@@ -82,6 +84,8 @@
|
|
82
84
|
|
83
85
|
```python
|
84
86
|
|
87
|
+
testsub.py
|
88
|
+
|
85
89
|
#!/usr/bin/env python
|
86
90
|
|
87
91
|
# coding:utf-8
|
@@ -114,9 +118,9 @@
|
|
114
118
|
|
115
119
|
time.sleep(1)
|
116
120
|
|
117
|
-
|
121
|
+
server = WebsocketServer(9001, host="192.168.43.57")
|
118
|
-
|
122
|
+
|
119
|
-
|
123
|
+
server.send_message_to_all("LED消灯中")
|
120
124
|
|
121
125
|
|
122
126
|
|
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,8 +10,6 @@
|
|
10
10
|
|
11
11
|
```python
|
12
12
|
|
13
|
-
testgpio.py
|
14
|
-
|
15
13
|
#!/usr/bin/env python
|
16
14
|
|
17
15
|
# coding:utf-8
|