STM32 ucosII program 4x2 keyboard detection
2016-08-23
0 0 0
no vote
Other
Earn points
Keil development platform based on stm32 board to achieve 4x2 keyboard detection. Program entirely correct function perfectly realized.
Part of the code:
void Task1(void *pdata)
{
u8 key;
while(1)
{
key=KEY_Scan();
if(key==1)
{
digitalToggle(GPIOD,GPIO_Pin_7); //D4 light
OSTimeDlyHMSM(0,0,1,0);
}
if(key==2)
{
digitalToggle(GPIOD,GPIO_Pin_6); //D5 light
OSTimeDlyHMSM(0,0,1,0);
c
检测
程序
ucosii
STM
键盘
基于
实现
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment