filmov
tv
digitalRead Demystified: Arduino Programming#roboticseducation

Показать описание
In Arduino programming, digitalRead() is a function used to read the state of a digital input pin. It takes one argument, which is the pin number you want to read from, and returns either HIGH or LOW depending on whether the voltage at that pin is above or below a certain threshold (typically around 2.5 volts).