-
KEY
类似电脑键盘组合按键触发的功能。利用51单片机实现。有两个独立按键,当把两个独立按键都按下后,蜂鸣器发出“滴”的一声后就停。直到松开任一个按键后,才能重新进行下一次的组合按键触发。(Similar to the function of the keyboard combination of keys. The use of 51 single chip microcomputer. There are two independent buttons, when the two independent buttons are pressed, the buzzer issued a drop of sound after the stop. Until after the release of any key, the next combination of keys can be re trigger.
)
- 2015-07-08 14:41:15下载
- 积分: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
-
正弦波逆变器
该资料为正弦波逆变器的相关设计方案,包括原理图和PCB设计(This information is a sine wave inverter design scheme, including schematic diagram and PCB design.)
- 2020-11-27 20:49:29下载
- 积分:1
-
WEPCrack-0.1.0
破解WIRELESS WEP的工具,很好的东西,(crack WEP tool, very good,)
- 2020-06-26 04:40:02下载
- 积分:1
-
AVR32000
介绍AVR单片机的功能,使用方法,对初学者很有帮助(Introduction AVR microcontroller features, use, very helpful for beginners)
- 2009-11-02 09:13:53下载
- 积分:1
-
FileEncryptor
File Encriptor,for encrypting and decrypting files, written in c#....public keys, key generator...
- 2015-06-24 04:55:07下载
- 积分:1
-
c51_st7920_12864
c51的st7920程序 c51的st7920程序(C51 of the C51 program st7920 procedures st7920)
- 2020-09-13 10:27:58下载
- 积分:1
-
LED
完成数码管的计时功能。同时实现LED灯的流水变化。(Complete digital control of the timing function.)
- 2013-04-30 15:26:49下载
- 积分:1
-
LTC68042
凌特电池电压采集芯片驱动
LTC6803-2
LTC6804-2(Linear Technology
battery voltage acquisition chip driver
LTC6803-2
LTC6804-2)
- 2014-07-09 15:45:45下载
- 积分:1
-
三路三相SPWM波
基于Tm4C123G的三相SPWM,能够实现DC_AC的变换
可结合现在流行的微电网和泛在电力物联网技术(Three-phase SPWM based on Tm4C123G can realize DC_AC transformation.
It can be combined with the popular microgrid and ubiquitous power Internet of things technology.)
- 2020-06-19 21:20:02下载
- 积分:1