File tree 1 file changed +6
-1
lines changed
libraries/ESP_NOW/examples/ESP_NOW_Serial
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 4
4
Send data between two ESP32s using the ESP-NOW protocol in one-to-one (unicast) configuration.
5
5
Note that different MAC addresses are used for different interfaces.
6
6
Set the peer MAC address according to the device that will receive the data.
7
+ Example setup:
8
+ - Device 1: AP mode, peer MAC address set to the Station MAC address of Device 2
9
+ - Device 2: Station mode, peer MAC address set to the AP MAC address of Device 1
10
+
11
+ The device running this sketch will also receive and print data from any device that has its MAC address set as the peer MAC address.
7
12
To properly visualize the data being sent, set the line ending in the Serial Monitor to "Both NL & CR".
8
13
*/
9
14
@@ -59,7 +64,7 @@ void setup() {
59
64
// Start the ESP-NOW communication
60
65
Serial.println (" ESP-NOW communication starting..." );
61
66
NowSerial.begin (115200 );
62
- Serial.println (" You can now send data between the devices using the Serial Monitor\n " );
67
+ Serial.println (" You can now send data to the peer device using the Serial Monitor. \n " );
63
68
}
64
69
65
70
void loop () {
You can’t perform that action at this time.
0 commit comments