Skip to content

Commit 023ac42

Browse files
authored
Refactor Debounce.md
Shortened the whole implementation while leaving the output same.
1 parent fbe87ad commit 023ac42

File tree

1 file changed

+2
-2
lines changed
  • content/built-in-examples/02.digital/Debounce

1 file changed

+2
-2
lines changed

content/built-in-examples/02.digital/Debounce/Debounce.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ Pushbuttons often generate spurious open/close transitions when pressed, due to
3838

3939
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.
4040

41-
<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>
41+
<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>
4242

4343
### Learn more
4444

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

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

49-
*Last revision 2015/07/29 by SM*
49+
*Last revision 2015/07/29 by SM*

0 commit comments

Comments
 (0)