Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using a pull-up or pull-down resistor ensures that we have with a HIGH or LOW value at the pin. Without, we would have a floating value. Always use a pull-up or pull-down with a button to ensure state.

References

ReferenceURL
Spark Fun - Pull Up Resistorshttps://learn.sparkfun.com/tutorials/pull-up-resistors

...