Skip to content

Commit 17b49af

Browse files
committed
Edge Control: provide modem power supply through maker slot 2
1 parent e88417e commit 17b49af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Arduino_CatM1ConnectionHandler.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ unsigned long CatM1ConnectionHandler::getTime()
5454

5555
NetworkConnectionState CatM1ConnectionHandler::update_handleInit()
5656
{
57+
#if defined (ARDUINO_EDGE_CONTROL)
58+
pinMode(ON_MKR2, OUTPUT);
59+
digitalWrite(ON_MKR2, HIGH);
60+
#endif
5761
return NetworkConnectionState::CONNECTING;
5862
}
5963

0 commit comments

Comments
 (0)