Thread: Debouncing
View Single Post
  #4   Spotlight this post!  
Unread 14-01-2007, 19:38
P1h3r1e3d13's Avatar
P1h3r1e3d13 P1h3r1e3d13 is offline
Unregistered User
FRC #0295
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: San Diego/Granite Bay
Posts: 46
P1h3r1e3d13 is an unknown quantity at this point
Re: Debouncing

I second.

Last year, on the advice of an electrical engineer mentor, I wrote a fairly long
debounce subroutine that I called for every switch input, totally forgetting how slow the processor is.
Long story short, it caused a lot of problems and wasted a lot of my time (a good half-week, and I was the only programmer). I realized later how silly that was, because we never ever had any bounce problems without it.