-
cprogram
51单片机常用的C程序例子。非常适合单片机控制多媒体方面的(51 SCM common example of C program. Very suitable for microcomputer control of multi-media)
- 2010-09-12 15:25:44下载
- 积分:1
-
Alarm
一个基于C语言的51单片机多功能电子闹钟日历,支持多组闹铃和倒计时功能,自动修正闰年天数(A microcontroller-based C-51 multi-function electronic calendar alarm clock, alarm and countdown to support multiple functions, automatically correct number of days in leap year)
- 2010-10-28 19:43:48下载
- 积分:1
-
DAC DMA成功输出正弦波
说明: DAC DMA成功输出正弦波,详细说明在程序中都有备注(DAC DMA Successfully Output Sinusoidal Wave)
- 2020-06-19 17:20:02下载
- 积分:1
-
18f67k40.X
日常生活中经常见到的广告牌以LED流动发光的形式来增加效果,该文件就包含了流水灯的编程代码。(The billboards that are often seen in daily life increase the effect in the form of LED luminous light. The file contains the programming code of the water lamp.)
- 2018-04-17 14:58:18下载
- 积分:1
-
SPI-1.8-TFT
这是一个SPI 接口的1.8寸TFT操作的源代码,液晶屏控制器为ST7735,里面附带ST7735资料(This is an SPI interface 1.8-inch TFT operation of the source code, the LCD screen controller ST7735, ST7735 with inside information)
- 2014-01-15 21:57:25下载
- 积分:1
-
NCDCcurrentsource
采用51系列单片机为控制核心,包括电源变换处理及分配模块,恒流源模块,单片机主控模块,键盘输入模块,LCD显示模块,数模/模数转换模块,语音模块和实时时钟模块的9个部分。通过键盘设定好需要输出的电流值后,单片机对设定值按照一定的算法进行处理,经数模输出电压控制恒流源电路输出相应的电流值(51 Series single-chip microcomputer used for the control of the core, including the processing and distribution of power transform module, constant current source module, single-chip control module, the keyboard input module, LCD display module, digital-to-analog/analog-digital conversion module, voice module and real-time Clock Module Part 9. Through the keyboard need to set output current value, single-chip microcomputer according to the settings of the algorithm processing, digital-to-analog output voltage by the control constant current source circuit output current value of the corresponding)
- 2009-04-21 00:14:12下载
- 积分:1
-
MPU6050 串口显示
通过串口实时显示MOU6050数据,希望可以帮到大家(Real-time display of MOU6050 data through serial port, I hope it can help you.)
- 2020-06-16 06:40:02下载
- 积分:1
-
MPC5604B_RTC
MPC5604P的RTC中断代码,设置RTC中断的时间间隔约为0.5秒,D1每隔约1秒闪一次(MPC5604P the RTC interrupt code, set the RTC interrupt interval of approximately 0.5 seconds, D1 at intervals of about one second flash once)
- 2020-08-18 10:38:21下载
- 积分: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
-
180度舵机
说明: 180度舵机可以由按键控制,缓慢转180度(The 180 degree steering gear can be controlled by keys and rotates 180 degrees slowly)
- 2020-06-19 10:40:02下载
- 积分:1