Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Resource icon

Debounce active low switch / asm / freescale 908 2011-02-27

Status
Not open for further replies.

OlPhart

Member
OlPhart submitted a new article:

Debounce Active Low Switch / Asm / Freescale 908 - I wrote this for use on pushbuttons. It first looks for an active low state. If seen, it counts loo

I wrote this for use on pushbuttons. It first looks for an active low state. If seen, it counts loops for a constant low state, any high reloads counter. Exit is by loop countout: either constant low Or high state. In effect, it soft delays out the bounce. The loop count sets debounce delay. Note, it doesn't bounce-proof return to inactive high state. My std rules: free to use, But put "uMax/Sarge" associated with it somewhere. TNX <<<)))

Read more about this article...
 
You might edit the intro' on both of your articles to indicate which microcontroller the code is for. It doesn't look like anything I'm familiar with...
 
Status
Not open for further replies.

Latest threads

Back
Top