arduino pin diagram code example Example: arduino pinMode pinMode(Pin_number, State); ex: pinMode(2, HIGH);