Skip to content

Commit 306a30b

Browse files
giulcioffifacchinm
authored andcommitted
Set GPIO3 pin HIGH at begin because it matches MKR Reset pin
1 parent aa152f2 commit 306a30b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/Nicla_System/Nicla_System.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ namespace nicla {
1919

2020
bool begin()
2121
{
22+
pinMode(P0_10, OUTPUT);
23+
digitalWrite(P0_10, HIGH);
2224
Wire1.begin();
2325
#ifndef NO_NEED_FOR_WATCHDOG_THREAD
2426
static rtos::Thread th(osPriorityHigh, 1024, nullptr, "ping_thread");

0 commit comments

Comments
 (0)