-
1
单片机流水灯程序,流星灯,高级流水灯,程序简洁新奇。(SCM water lights, meteor lights, advanced light water, the program simple novelty.)
- 2013-10-20 19:16:17下载
- 积分: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
-
I2C
基于单片SST89V58RD2的I2C程序开发。用C语言描述的(I2C-based monolithic SST89V58RD2 program development. Described using C language)
- 2010-08-11 15:34:55下载
- 积分:1
-
MSP430-
基于MSP430单片机的实用射频卡读卡电路设计(MSP430 microcontroller-based circuit design practical RF card reader)
- 2013-11-01 10:40:59下载
- 积分:1
-
hongwai
实现红外线接收功能 主芯片为AT89S51(To achieve the main function of the infrared receiver chip AT89S51)
- 2011-05-03 15:14:22下载
- 积分:1
-
FM
说明: 我画的收音机PCB板,使用GS1299的收音芯片(I painted the radio PCB board)
- 2012-01-01 17:26:27下载
- 积分:1
-
3、系统定时器SysTick
说明: 这是基于开发板LPC1114的源码程序,是用C语言编写,用于实现系统定时器的配置同时它也是一个完整的模板,可以在此基础上添加其他程序用于开发板的学习,是一个完整的模板,可直接使用。(This is a source code program based on the development board LPC1114. It is written in C language. It is used to realize the configuration of the system timer. At the same time, it is also a complete template. On this basis, other programs can be added for the learning of the development board. It is a complete template and can be used directly.)
- 2020-06-22 17:20:02下载
- 积分:1
-
key_Queue
3. 参考void Reverse(LinkQueue &Q)函数,定义新的函数int Palindrome_Test(char str[]),判断字符串str是否回文序列,若是则返回1,否则返回0。写出程序或用文字描述算法的执行步骤。(3. Reference void Reverse (LinkQueue & Q) function, define a new function int Palindrome_Test (char str []), to determine whether the string str palindromic sequence, if it returns 1, otherwise it returns 0. Written procedures or describe in words the steps of the algorithm.)
- 2013-12-15 15:04:19下载
- 积分:1
-
Blood_pressure
基于示波法的电子血压计程序,包括脉搏测量。控制器采用STM32F103C8T6。包含数据核心算法程序。(
Based oscillography electronic sphygmomanometer procedures, including pulse measurements. Controller uses STM32F103C8T6. It contains data core algorithm program.)
- 2020-11-13 21:29:43下载
- 积分:1
-
Ultrasonic-Ranging
此代码为基于51单片机的超声波测距程序,内含LCD12864显示程序,可实时显示距离。(This code is based on 51 microcontroller ultrasonic ranging program, containing LCD12864 display program can display distance in real time.)
- 2015-03-14 11:08:53下载
- 积分:1