文件名称:zsp
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- 郭**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
摄像机电机的自动控制,温度采集
sbit inc=P3^4 //焦距增加值按键
sbit dec=P3^5 //焦距减少值按键
sbit m0=P1^6 //焦距电机正转输出
sbit m1=P1^5 //焦距电机反转输出
sbit rled=P1^2 //输出至红发光管
sbit gled=P1^3 //输出至绿发光管
sbit out_drv=P1^4 //输出负脉冲至驱动板
sbit out_light=P3^1 //输出控制220V光源继电器
sbit out_fan=P3^0 //输出控制12V风扇继电器
sbit check_tem=P3^6 //温度检测端
sbit check_light=P3^7 //光源检测端-Automatic control of the camera motor, temperature acquisition sbit inc = P3 ^ 4 // focal length of the added value of key sbit dec = P3 ^ 5 // focal length to reduce the value of key sbit m0 = P1 ^ 6 // focal length of the motor is to switch the output sbit m1 = P1 ^ 5 // focal length of the motor reverse output sbit rled = P1 ^ 2 // output to the red LED sbit gled = P1 ^ 3 // output to the green LED sbit out_drv = P1 ^ 4 // negative pulse output to drive plate sbit out_light = P3 ^ 1 // output control relay 220V source sbit out_fan = P3 ^ 0 // output control 12V fan relay sbit check_tem = P3 ^ 6 // Detect end temperature sbit check_light = P3 ^ 7 // Detect end of the light source
sbit inc=P3^4 //焦距增加值按键
sbit dec=P3^5 //焦距减少值按键
sbit m0=P1^6 //焦距电机正转输出
sbit m1=P1^5 //焦距电机反转输出
sbit rled=P1^2 //输出至红发光管
sbit gled=P1^3 //输出至绿发光管
sbit out_drv=P1^4 //输出负脉冲至驱动板
sbit out_light=P3^1 //输出控制220V光源继电器
sbit out_fan=P3^0 //输出控制12V风扇继电器
sbit check_tem=P3^6 //温度检测端
sbit check_light=P3^7 //光源检测端-Automatic control of the camera motor, temperature acquisition sbit inc = P3 ^ 4 // focal length of the added value of key sbit dec = P3 ^ 5 // focal length to reduce the value of key sbit m0 = P1 ^ 6 // focal length of the motor is to switch the output sbit m1 = P1 ^ 5 // focal length of the motor reverse output sbit rled = P1 ^ 2 // output to the red LED sbit gled = P1 ^ 3 // output to the green LED sbit out_drv = P1 ^ 4 // negative pulse output to drive plate sbit out_light = P3 ^ 1 // output control relay 220V source sbit out_fan = P3 ^ 0 // output control 12V fan relay sbit check_tem = P3 ^ 6 // Detect end temperature sbit check_light = P3 ^ 7 // Detect end of the light source
相关搜索: 摄像机
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zsp
...\zsp
...\zsp.c
...\zsp.hex
...\zsp.lnp
...\zsp.LST
...\zsp.M51
...\zsp.OBJ
...\zsp.Opt
...\zsp.plg
...\zsp.Uv2
...\zsp
...\zsp.c
...\zsp.hex
...\zsp.lnp
...\zsp.LST
...\zsp.M51
...\zsp.OBJ
...\zsp.Opt
...\zsp.plg
...\zsp.Uv2