Welcome![Sign In][Sign Up]
Location:
Search - 2bke

Search list

[SCMtime0_2Bkey

Description: 通常我们使用键盘扫描的时候直接把代码放到while(1){}里面,但有时会由于之前程序执行时间过长而导致扫描无效,所以这里提供了一个把扫描放到定时器中断里的方式,主要是提供一个想法,程序相信大家都能编出来的,这里面有一个例子,仅供大家参考。。。 -We usually use the keyboard scan code when put directly to the while (1) () inside, but sometimes as a result of program execution before the result of too much time scanning does not work, so here are scanned on a timer interrupt in a manner mainly to provide an idea of the procedure believe that for everyone out there has an example for your reference. . .
Platform: | Size: 11264 | Author: 许珍 | Hits:

CodeBus www.codebus.net