This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

z-stack中矩阵按键 的问题

Other Parts Discussed in Thread: CC2530, Z-STACK

我想弄一个4*4的矩阵键盘,有如下两种方式

方式1、z-stack中直接用cc2530的定时器事件,定时扫描按键值,需要用到8个IO口。

方式2、随便用一个其他MCU用作按键检测,通过串口与cc2530进行按键值传输

请问更推荐哪种方式?