Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/built-in-examples/02.digital/Debounce/Debounce.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ Pushbuttons often generate spurious open/close transitions when pressed, due to

The sketch below is based on **Limor Fried's version of debounce**, but the logic is inverted from her example. In her example, the switch returns LOW when closed, and HIGH when open. Here, the switch returns HIGH when pressed and LOW when not pressed.

<iframe src='https://create.arduino.cc/example/builtin/02.Digital%5CDebounce/Debounce/preview?embed&snippet' style='height:510px;width:100%;margin:10px 0' frameborder='0'></iframe>
<iframe src="https://app.arduino.cc/sketches/632a05ab-f781-4b43-9825-c7ca7984200f?view-mode=embed" style="height:510px;width:100%;margin:10px 0" frameborder=0></iframe>

### Learn more

You can find more basic tutorials in the [built-in examples](/built-in-examples) section.

You can also explore the [language reference](https://www.arduino.cc/reference/en/), a detailed collection of the Arduino programming language.

*Last revision 2015/07/29 by SM*
*Last revision 2025/07/15 by MS*