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.
The input is of type
E_PIN_STATE. A conversion operator from E_PIN_STATE to int is not defined, so direct input by numeric value is not allowed.