文件名称:rotary-switch1
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 13kb
- 下载次数:
- 0次
- 提 供 者:
- 小*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
旋转编码开关是一种可以识别转向的旋转开关,在自动控制和仪器仪表中有着很广泛的应用。本例实现使用一只旋转编码开关控制8个LED点亮的功能。下载试验程序后,顺时针转动开关,会看到被点亮的LED个数变多,逆时针转动开关,会看到被点亮的LED变少。同样,对程序稍加改编利用即可巧妙的完成按键难以达到的良好控制效果。-A rotary switch is turned to the rotary switch can be identified, in the automatic control and instrumentation has a very wide range of applications. This example implementation uses a rotary switch controls the function of 8 LED lights. Download the test program, clockwise rotation switch, LED lit up to see the number of changes and more, turn the switch counter-clockwise, you will see fewer LED lit. Similarly, use of the program can be a little clever adaptation of the completion of key difficult to achieve good control effect.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rotary switch1
..............\rotate Switch
..............\.............\rotateswitch
..............\.............\rotateswitch.c
..............\.............\rotateswitch.hex
..............\.............\rotateswitch.lnp
..............\.............\rotateswitch.LST
..............\.............\rotateswitch.M51
..............\.............\rotateswitch.OBJ
..............\.............\rotateswitch.Opt
..............\.............\rotateswitch.plg
..............\.............\rotateswitch.Uv2
..............\说明.txt
..............\rotate Switch
..............\.............\rotateswitch
..............\.............\rotateswitch.c
..............\.............\rotateswitch.hex
..............\.............\rotateswitch.lnp
..............\.............\rotateswitch.LST
..............\.............\rotateswitch.M51
..............\.............\rotateswitch.OBJ
..............\.............\rotateswitch.Opt
..............\.............\rotateswitch.plg
..............\.............\rotateswitch.Uv2
..............\说明.txt