更新 README.md

This commit is contained in:
leo 2024-06-24 13:04:18 +08:00
parent 6e73a790e8
commit 51b8845961

View File

@ -48,7 +48,7 @@
### MCU控制(WEB)
#### ESP32寫micropython
```
``` python
import network
import ure
import usocket as socket
@ -168,7 +168,7 @@ main()
```
#### ESP32寫Arduino(WEB)
```
``` C
#include <Wire.h>
#include <WiFi.h>
#include <WebServer.h>
@ -275,7 +275,7 @@ void loop() {
```
#### ESP32(COM)
```
```C
int out_1_pin = 26;
int out_2_pin = 27;
@ -331,7 +331,7 @@ void loop() {
```
#### Arduino(COM)
```
```C
bool LEDState = HIGH;