bs8116按键模块
时间: 2023-09-19 09:10:24 浏览: 297
BS8116-3代码(使用STM32L151)
4星 · 用户满意度95%
BS8116是一个按键模块,它使用了合泰公司的触摸按键芯片BS8116A-3。该模块采用I2C通信协议。根据代码中的描述,该模块有12个按键,其中KEY8和KEY16的初始位都是1,其余按键的初始位都是0。按下某个按键时,对应的位会变为1。通过读取电容按键对应的按键码,可以获取用户按下的按键的值。代码中使用了AT24Cxx芯片进行存储。AT24Cxx芯片的后两位表示可存储容量的大小,单位为位。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [BS8112A-3 BS8116A-3 I2C IO模拟程序](https://download.csdn.net/download/aideyinji2/10594901)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [IIC总线(IO模拟BS8116电容按键,AT24Cxx)](https://blog.csdn.net/Joyerx/article/details/126731794)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文