digitalRead()

Reads the value of the port of the input configuration.

Reads the value of the port of the input configuration.

static inline E_PIN_STATE digitalRead(uint8_t u8pin)

Get the input value of a pin that has been previously set as an input, either LOW or HIGH.

No conversion operator from type E_PIN_STATE to type int is defined, so direct assignment to a numeric type is not possible.

最終更新