摘要:
采用分时复用的方法,定时置位行,检测列,确定按下的按键,输出不同的按键值。 void KbScanProcess(void) { //uint8_t Row=0; //按键所在行 //uint8_t Col=0; //按键所在列 //uint8_t RowCount=0; //按键触发行的个数,用于 阅读全文
posted @ 2023-07-11 15:03
steven_lg
阅读(49)
评论(0)
推荐(0)
摘要:
1.发射端发出定义字节的数据。 case 8: //色温加 { if(step>5) { RemoteCmd[1]=0x6A; RemoteCmd[7]=0x80; KeyDownNoSendEn=0; //按键按下但不发送RF指令失能 KeyReleaseSendEn=0; UpdataKeyRe 阅读全文
posted @ 2023-07-11 14:52
steven_lg
阅读(74)
评论(0)
推荐(0)

浙公网安备 33010602011771号