Digitalwrite Digitalread Arduino Code Example
Example 1: arduino digitalread
digitalRead(pin number); // can also be used to debug with Serial.println(digialRead(pin number));
Example 2: arduino digitalwrite
digitalWrite(pin number, LOW/HIGH)
digitalRead(pin number); // can also be used to debug with Serial.println(digialRead(pin number));
digitalWrite(pin number, LOW/HIGH)
Comments
Post a Comment