Skip to content

Debounce example doesn't work as described. [imported] #293

Closed
@cmaglie

Description

@cmaglie

This is Issue 293 moved from a Google Code project.
Added by 2010-07-16T18:20:36.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

What steps will reproduce the problem?

  1. Compile and run Examples > Digital > Debounce example included with the IDE.

What is the expected output? What do you see instead?

According to the documentation at the start of the code and on the website the LED should be toggled with each button press. Instead the LED just matches the button state.

What version of the Arduino software are you using? On what operating
system? Which Arduino board are you using?

0018
MacOS X 10.6.4
Duemilanove

Please provide any additional information below.

I'm attaching a modified version which does what the program is described to do. Feel free to use it as you please. It may need to be modified to be more readable for beginner programmers...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions