We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ded42 commit a46facaCopy full SHA for a46faca
build/shared/examples/2.Digital/DigitalIputPullup/DigitalIputPullup.ino
@@ -37,8 +37,8 @@ void loop(){
37
Serial.println(sensorVal);
38
39
// Keep in mind the pullup means the pushbutton's
40
- // logic is inverted. It goes HIGH when it's pressed,
41
- // and LOW when it's not. Turn on pin 13 when the
+ // logic is inverted. It goes HIGH when it's open,
+ // and LOW when it's pressed. Turn on pin 13 when the
42
// button's pressed, and off when it's not:
43
if (sensorVal == HIGH) {
44
digitalWrite(13, LOW);
0 commit comments