You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It's just the way things are I'm afraid - the digital inputs are relatively sensitive, so pretty much any external input can change them. Without the resistor, even touching 3.3v with one hand and C1 with the other hand will be enough to register a button press.

    But without the resistor (even if the input held its last value) you'd only ever be able to turn the input on, not off. You'd need another button connected to GND for that :)

About

Avatar for Gordon @Gordon started