Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: main-li-zhong-duan-jishu- Download
 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. I remember the output lines P0.4 output has been low, the analog trigger buttons i
 Downloaders recently: [More information of uploader 高飞]
 To Search:
File list (Check if you may need any files):
 

第07节:在主函数中利用累计定时中断的次数来实现独立按键的检测.c
    

CodeBus www.codebus.net