Skip to content

Commit 6d04c83

Browse files
committed
Improve example
1 parent 8751b98 commit 6d04c83

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

libraries/ESP_NOW/examples/ESP_NOW_Serial/ESP_NOW_Serial.ino

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
Send data between two ESP32s using the ESP-NOW protocol in one-to-one (unicast) configuration.
55
Note that different MAC addresses are used for different interfaces.
66
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.
712
To properly visualize the data being sent, set the line ending in the Serial Monitor to "Both NL & CR".
813
*/
914

@@ -59,7 +64,7 @@ void setup() {
5964
// Start the ESP-NOW communication
6065
Serial.println("ESP-NOW communication starting...");
6166
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");
6368
}
6469

6570
void loop() {

0 commit comments

Comments
 (0)