-
移动电源三合一
松翰2711 ADC设置的示例程序
功能:获取P43的AD值
//输入:P43口的模拟信号输入 (输入ADB和ADR,输出AD_Data_Hi和AD_Data_low)
//输出:AD值
/////////////////////////////////////////////////////////;库
#include "SN8P2706A.h"
// #include "const.h"
/////////////////////////////////////////////////////////;声明
extern bit ft_ad_10ms,f_ad_first,f_ad_on;
extern unsigned int AD_value_H,AD_value_L,AD_data;
extern unsigned int AD_sum_H,AD_sum_L,b_total;
extern unsigned int ad_mobile_const,ad_buf0;
/////////////////////////////////////////////////////////;
void ad_data_init(void)
{
AD_sum_L=0; //清和
AD_sum_H=0;
AD_value_H=0; //最大值初始值为0
AD_value_L=255; //最小值初始值为255
}
/////////////////////////////////////////////////////////;AD数据初始化
void ad_charge(void)
{
if(ft_ad_10ms==1)
{
- 2022-09-24 14:05:03下载
- 积分:1
-
c6455VCP
Vcp2,TI的VCP2 例子,里面有VCP2的参数配置(Vcp2, TI' s VCP2 example, there are VCP2 parameter configuration)
- 2013-08-28 20:14:34下载
- 积分:1
-
iir
iir滤波器,无限冲激响应滤波器。功能强大(IIR filters, infinite impulse response filter. Powerful)
- 2008-08-01 08:43:35下载
- 积分:1
-
1
说明: 51单片机控制 套丝机机床实现自动加工螺纹钢(motor cw ccw)
- 2013-11-15 00:07:21下载
- 积分:1
-
Modbus协议规范%28中文%29
modbus协议,详细讲解了协议具体实现方法。(Modbus protocol, the specific implementation of the protocol explained in detail.)
- 2020-06-17 06:40:01下载
- 积分:1
-
hacker
黑客攻防入门书籍 很好很强大
讲了各种攻击方法(Getting Started with a very good offensive and defensive hacking books, talk about a variety of very strong attack methods)
- 2009-11-25 10:49:52下载
- 积分:1
-
Collision-library
碰撞库含有很多的碰撞例子,可以直接使用!方便在学习碰撞中的各位同仁!(Library contains a lot of the collision of a collision example, can use directly!!!!! In the study of the convenient collision colleagues!!!!!)
- 2011-10-28 16:23:59下载
- 积分:1
-
MyFirstOpenGL
openGl显示球体,加上灯光,大家互相学习~(openGl show sphere, with light, we learn from each other ~)
- 2010-06-18 10:42:01下载
- 积分:1
-
基于STM32的NRF24L01无线通信组网6发1收,可获取通道号
发送端:
只需修改发送模式中的接收通道号即可(此处的接收通道号指的是接收端的通道号,发送端只使用P0通道发送数据)。
接收端:
无需修改。
接收端接收数据的通道号调试的时候又时会大于5,我认为由于接收端在接收到数据之后,会发送应答信号,这个过程用户是看不到的,由模块自己执行。而当模块处于发送状态时,STATUS寄存器的值为0X1E,由本函数计算得到会出现显示通道号大于5的情况。
- 2022-03-09 20:44:43下载
- 积分:1
-
randomlib
random library by mustiere
- 2010-12-22 15:14:06下载
- 积分:1