摘要
介绍了一种带按键的旋转编码开关的使用方法,给出了与C8051F020单片机的接口电路,以及旋钮转向判断和按键处理程序。
A rotary encode switch with a button is introduced. Interface based on C8051F020 and program code of the rotate direction and button press determine are given. Practical application shows that the interfacing circuit is stable, effective and reliable.
出处
《机电产品开发与创新》
2015年第2期113-115,共3页
Development & Innovation of Machinery & Electrical Products