pinMode function esp32 code example Example: arduino pinMode pinMode(Pin_number, State); ex: pinMode(2, HIGH);