-
nrf905_tx_rx
关于nrf905在51内核单片机上的完整应用代码,包括了发送与接收。(About nrf905 on 51 core microcontroller complete application code, including the sending and receiving.)
- 2015-05-05 14:28:30下载
- 积分:1
-
Uart_receive
STM32F4系列串口接收函数,,程序已测试通过。(void USART1_IRQHandler(void) //串口1中断服务程序
{
u8 Res
#ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了.
OSIntEnter()
#endif
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) //接收中断(接收到的数据必须是0x0d 0x0a结尾)
{
Res =USART_ReceiveData(USART1) //(USART1->DR) //读取接收到的数据
if((USART_RX_STA&0x8000)==0)//接收未完成
{
if(USART_RX_STA&0x4000)//接收到了0x0d
{
if(Res!=0x0a)
USART_RX_STA=0 //接收错误,重新开始
else
USART_RX_STA|=0x8000 //接收完成了
}
else //还没收到0X0D
{
if(Res==0x0d)USART_RX_STA|=0x4000
else
{
USART_RX_BUF[USART_RX_STA&0X3FFF]=Res
USART_RX_STA++
if(USART_RX_STA>(USART_REC_LEN-1))USART_RX_STA=0 //接收数据错误,重新开始接收
}
}
}
}
#ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了.
OSIntExit()
#endif
} )
- 2016-01-21 17:04:30下载
- 积分:1
-
PIC_PCB
文件为PIC开发板PCB图,完全可用,适用于学习和工程开发。(File for PIC development board PCB figure, completely available, application study and engineering development.)
- 2015-09-23 10:29:46下载
- 积分:1
-
three-phase-voltage-rectifier
三相电压型SVPWM整流器的仿真,将双闭环方法与矢量控制方法相结合(The simulation of three-phase Voltage SVPWM Rectifier will double-loop vector control method and the method of combining)
- 2014-01-10 21:30:56下载
- 积分:1
-
panel
本程序是面元法,主要为了求解绕翼型速度分布。(panel method calculate velocity distribution)
- 2013-11-18 21:53:13下载
- 积分:1
-
AD2S1210_Code
ADI公司的ADC芯片AD2S1210的配置及采集处理程序,已经过验证,在tms320上运行ok(ADC company s AD2S1210 chip ADI configuration and acquisition process, has been verified, running on the OK TMS320)
- 2021-03-18 10:39:20下载
- 积分:1
-
pin-lv-ji(0-99khz)
用msp430开发的频率计带1602显示,可测0——99Khz(Msp430 frequency meter with homemade with 1602 display
)
- 2012-08-02 11:45:28下载
- 积分:1
-
third-party-login-for-weixin(.net)
微信公众平台第三方登录 .net
只需要修改appid appsecret等便可使用(third party login for weixin(.net))
- 2015-06-29 17:23:32下载
- 积分:1
-
开源平衡小车电路图+代码
开发平衡小车的参考资料,内含源码和电路图,可以加速你的开发过程(the reference to develop the balance car)
- 2020-06-20 18:00:02下载
- 积分:1
-
GAF-algorithm-of-WSN
WSN的GAF算法程序针对无线传感器网络节点部署密集的特点,提出了 GAF 算法。在 GAF
算法中,根据节点的地理位置信息和节点的无线电发射半径(radio range),传
感器网络部署区域被划分为虚拟单元格(virtual gird)。根据自己的物理位置信
息,各个节点被划入到自己的单元格中。各个节点的物理位置信息可以由 GPS 或
其它定位系统得到。
(GAF algorithm of WSN deployment intensive features for wireless sensor network node, proposed GAF algorithm. In GAF algorithm, the radius of the radio transmitting node and the node' s location information (radio range), the sensor network deployment area is divided into a virtual cell (virtual gird). According to their physical location information, each node is classified into its own cell. The physical position information of each node can be obtained by the GPS or other positioning systems.)
- 2020-08-02 10:08:35下载
- 积分:1