-
MCS_51_asm_library
说明: MCS-51单片机实用汇编子程序库,有120多个子程序,含有各种数学函数,单字节、双字节和N字节的乘除法子程序,还有各种数据类型转换。可以直接复制粘贴使用,是学习单片机汇编难得的资料。(MCS-51 microcontroller practical assembly subroutine library with more than 120 subroutines, containing a variety of mathematical functions, single-byte, double-byte N bytes of multiplication and division, and another way process, as well as various data type conversions. Can copy and paste to use, is to learn valuable information on MCU assembly.)
- 2011-04-07 00:19:29下载
- 积分:1
-
serial_rs485
说明: rs485程序,毕业设计一部分,有需要的下载(code of rs485, part of graduation, you can download it if you need)
- 2020-06-10 09:40:48下载
- 积分:1
-
yangxiaoniu
杨小牛大神的软件无线电,做信道化或者宽带数字接收机的可以下载(Software Radio written by XiaoNiu Yang,people who deal with channelization or wideband digital receiver can download)
- 2016-08-26 16:20:21下载
- 积分:1
-
8x8snake
while(1)
{//if(keyenable==1){P1=0x00 P2=0xff }else{P1=0xff P2=0x00 }
for(i=3 i<SNAKE+1 i++)x[i]=100 for(i=3 i<SNAKE+1 i++)y[i]=100 //初始化
x[0]=4 y[0]=4 //果子
n=3 //蛇长 n=-1
x[1]=1 y[1]=0 //蛇头
x[2]=0 y[2]=0 //蛇尾1
addx=0 addy=0 //位移偏移
//k=1
while(1){if(keyenable)break timer0(1) }
while(1)
{timer0(e)
if(knock()){e=SPEED break } //判断碰撞
if((x[0]==x[1]+addx)&(y[0]==y[1]+addy)) //是否吃东西
- 2011-07-09 23:00:46下载
- 积分:1
-
ADC1_TriggerConversion
根据对应的按键值,对应输出相应的电容值,并做掉电检测(According to the corresponding key value, corresponding to the output of the corresponding capacitance values and do brownout detection)
- 2013-11-26 23:42:16下载
- 积分:1
-
STM32系统板全套-2013国赛(F)-红外光通信装置
这是一种基于STM32系统的红外光通信装置(This is an infrared optical communication device based on STM32.)
- 2019-03-19 18:19:46下载
- 积分: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
-
28. 红外遥控实验
说明: 该程序能够用库函数简洁的实现红外遥控的实验(The program can succinctly realize infrared remote control experiment with library function.)
- 2019-05-20 20:22:45下载
- 积分:1
-
智能坦克循迹小车
资源描述本设计是一个,智能循迹小车,此下车可以按照设定的路行驶,车的路线可以黑色的胶带设计路径,路径可有很大的角度。
- 2022-03-25 04:22:54下载
- 积分:1
-
big5_bitmap
16x16与24x24的点阵的繁体中文字库,
适合嵌入式系统开发,主要是支持台湾繁体字,
dzk扩充名
主要适合做嵌入式系统开发,要用到繁体字库的朋友。(16x16 with 24x24 dot matrix of Traditional Chinese font, suitable for embedded systems development, support complex characters, dzk expansion name suitable for embedded system development, and friends use to Traditional fonts.)
- 2020-12-16 01:39:13下载
- 积分:1