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
+3-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,9 @@ extern "C" {
42
42
43
43
//GPIO FUNCTIONS
44
44
#defineINPUT 0x01
45
-
#defineOUTPUT 0x03 //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
45
+
// Changed OUTPUT from 0x02 to behave the same as Arduino pinMode(pin,OUTPUT)
46
+
// where you can read the state of pin even when it is set as OUTPUT
0 commit comments