-
dingshiqi
一个简单的定时器定时0.5s和1s程序,指在教导新手如何使用定时器(A simple timer timer 0.5s and 1s procedures, means to teach novices how to use the timer)
- 2013-08-01 17:03:34下载
- 积分:1
-
lingdianjiance
凌阳8位单片机的零点检测程序,内有详细说明文档(Sunplus zero 8-bit microcontroller testing procedures, with detailed documentation)
- 2010-10-20 00:26:45下载
- 积分:1
-
IEC101
101规约程序代码说明,较为详细的101标准电力通讯规约代码。(Power communication protocol IEC 61850-101 Statute of the simulator source code, VC prepared)
- 2020-09-15 16:57:57下载
- 积分:1
-
5956455decode
说明: 用PIC16f630实现的 315MHZ 软件解码和编码.代替PT2272 和 PT2262(315MHz software decoded and encoded by PIC16F630. Instead of PT2272 and PT2262)
- 2020-04-15 23:23:40下载
- 积分:1
-
Object-programming
适合初学者用的,对象编程。初学者交流之用。(Programming for beginners to use, object. A beginner.)
- 2013-11-02 20:57:45下载
- 积分:1
-
mpu6050
MSP430 角度传感器MPU6050程序_ccs(MSP430 angle sensor MPU6050 program _ccs)
- 2020-10-12 00:17:32下载
- 积分:1
-
32测距(OLED显示)
基于stm32f103zet6单片机的超声波测距(Ultrasonic ranging based on stm32f103zet6 single chip computer)
- 2020-06-17 20:40:04下载
- 积分:1
-
CLL
在单片机开发板上运行的电子时钟,可做秒表,可重置日期时间等(Electronic clock,stopwatch,data reset)
- 2014-11-10 13:54:43下载
- 积分: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
-
CPM-DID
计算机编程手册(CPM)提供程序员理解如何编程给定计算机所需的信息。 本手册主要关注计算机本身,而不是计算机上运行的特定软件。(The Computer Programming Manual (CPM) provides information needed by a programmer to understand how to program a given computer. This manual focuses on the computer itself, not on particular software that will run on the computer.)
- 2019-01-01 21:47:07下载
- 积分:1