This is the multi-page printable view of this section. Click here to print...

Return to the regular view of this page

As of 2025-08-01

digitalWrite()

Digital output function
    Changes the setting of a digital output pin.
    static inline void digitalWrite(uint8_t u8pin, E_PIN_STATE ulVal)

    Beforehand, set the target pin as output using pinMode(). The first parameter specifies the pin number to be set. The second parameter specifies either HIGH or LOW.