pinMode digital pins code example Example: arduino pinMode pinMode(Pin_number, State); ex: pinMode(2, HIGH);