Skip to content

Commit 37177c3

Browse files
authored
Add warning about NO_ETHERNET_TURN_OFF
Adds a warning that improper use of this #define can damage the Ethernet transmission termination resistors.
1 parent 5b4047f commit 37177c3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: examples/TurnPeripheralsOff/TurnPeripheralsOff.ino

+7-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
* This code is in the public domain
1414
*/
1515

16+
// WARNING: The following #define disables automatically turning off the Ethernet chip when the
17+
// microcontroller goes into Standby Mode. Doing so can damage the Ethernet transmission
18+
// termination resistors unless the power to the Ethernet chip is turned off manually,
19+
// as in this example sketch, before entering Standby Mode.
20+
// -->
1621
#define NO_ETHERNET_TURN_OFF
22+
// <--
1723

1824
#include "Arduino_LowPowerPortentaH7.h"
1925
#include "Arduino_PMIC.h"
@@ -68,4 +74,4 @@ void setup() {
6874
#endif
6975
}
7076

71-
void loop() {}
77+
void loop() {}

0 commit comments

Comments
 (0)