This preview shows page 1. Sign up to view the full content.
Unformatted text preview: interpreted as the switch being pressed or released multiple times - very annoying at best! The transition time of a switch (before it becomes stable) could vary wildly from 1 to 50 ms, depending on the type and action of the switch. Although the type of switch used on the MSP430 is very clean and almost instantaneous during the press, the release is another matter. To debounce a switch, make sure that the frequency of the sampling of a switch is sufficiently long enough to allow for the input to the microcontroller to settle. See Switch Debounce: MMB pgs. 225-238....
View Full Document
This document was uploaded on 02/08/2012.
- Winter '09