Title:
zhong-duan-ji-shu-LED-blink Download
- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 3kb
- Update:
- 2014-07-07
- Downloads:
- 0 Times
- Uploaded by:
- 高飞
Description: Previous section talked about the framework of multi-tasking in buzzer driver, this section continue to use the way multi-task processing, are used to detect the use of separate keys cumulative primary cycles in the main function. Knowledge to teach you four points:
First point: independent key driver framework
The second point: The cumulative number of cycles to achieve the main debounce delay.
The third point: flexible use grimdeath prevent the keys from the lock button has been triggered flag.
The fourth point: the key to timing jitter delay, add an anti-jamming software monitoring judgments. Once an instant clutter found immediately to the delay counter is cleared.
This approach is summed up in my complex industrial projects. After all switch sensors used in place anti-jamming processing software can be achieved on a similar approach.
Details, see the source code to explain.
(1) with S1 and S5 matrix keypad number keys as a separate button, remember to out
To Search:
File list (Check if you may need any files):
第04节:累计定时中断次数使LED灯闪烁.c