You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-gpio.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ extern "C" {
42
42
43
43
//GPIO FUNCTIONS
44
44
#defineINPUT 0x01
45
-
#defineOUTPUT 0x02
45
+
#defineOUTPUT0x03 //Changed from 0x02 to behave the same as Arduino pinMode(pin,OUTPUT) where yo ucan read the state of pin even when it is set as OUTPUT
0 commit comments