pins.digitalWritePin(DigitalPin.P1, 0) in arduino code code example Example: digitalwrite C++ digitalWrite(pin, value)