pins.digitalWrite Pin(Digital Pin.P1, 1) in arduino code code example Example: digitalwrite C++ digitalWrite(pin, value)