11
Serial
.
println
("
The device started, now you can pair it with bluetoot
h!
");
}
void
loop
()
{
if
(
Serial
.
available
())
{
SerialBT
.
write
(
Serial
.
read
());
}
if
(
SerialBT
.
available
())
{
Serial
.
write
(
SerialBT
.
read
());
}
delay
(
20
);
}
5
.3.
WIFI SCANNING
Open the Arduino IDE and open the example program
`File`->`Examples`->`WiFi`->`WiFiScan`. Connect the device to the computer
and select the corresponding port to burn. After completion, the device will
automatically run the WiFi scan, and the current WiFi scan result can be obtained
through the serial port monitor that comes with the Arduino.
#include
"
WiFi.h
"
void
setup
()
{
Содержание M5Station-485
Страница 1: ...M5Station 485 2020 V0 01 ...