Skip to content

Commit bc23750

Browse files
committed
Added warning to the example on how to use the DA
1 parent 076ecd4 commit bc23750

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: libraries/WiFi/examples/WiFiScanDualAntenna/WiFiScanDualAntenna.ino

+6-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ void setup()
2424
// Set WiFi to station mode and disconnect from an AP if it was previously connected
2525
WiFi.mode(WIFI_STA);
2626

27-
// Set WiFi dual antenna configuration by passing the GPIO and antenna mode for RX ant TX
27+
/* Atention: This is the manual prodecure for the dual antenna configuration.
28+
* If you choose the ESP32-WROOM-DA module from the Tools -> Board, this configuration
29+
* is not necessary!
30+
*
31+
* Set WiFi dual antenna configuration by passing the GPIO and antenna mode for RX ant TX
32+
*/
2833
err = WiFi.setDualAntennaConfig(GPIO_ANT1, GPIO_ANT1, WIFI_RX_ANT_AUTO, WIFI_TX_ANT_AUTO);
2934

3035
/* For more details on how to use this feature, see our docs:

0 commit comments

Comments
 (0)