搜索资源列表
chuankoubiancheng
- 串口编程--接收PC发过来的字符串,回发字符串.发送期间中断控制LED灯闪烁 采用外部晶振22.1184MHz 使用定时器1,方式2产生波特率,SMOD = 0或者1 定时器初值X=256-SYSCLK*(SMOD+1)(BAUDRATE*384) -Serial Programming -- receiving PC sent the string, the string back. During this interruption control LED lights exter
dianji3
- 这是一个在PC上的电机控制软件,实现了对电机的加速、减速和设定速度等功能,同时还家了定时功能。-This is a PC in the motor control software, the right motor acceleration, set speed and deceleration function, but also home timer function.
stm32slve-USART1and2-Tim2and3Buff
- STM32,串口利用定时器中断接受不同的帧, 运用定时器判断一帧的结束-STM32, the serial port using the timer interrupt to accept a different frame, use a timer to judge the end
rs485
- 操作串口直接进行RS485多机通信的类。单片机下485多机通信很容易,用UART的Bit9即可,Windows下就麻烦得多,Windows下串口Bit9用作奇偶校验,要切换Bit9就要动态改通信格式,而且切换时间要跟得上单片机的us级时间。这个自己写的Class用独立线程、Windows高精度定时器机制,高速切换Bit9,示波器测量,时间在10us左右,已用于门禁系统多年,长时间运行可靠! -Direct RS485 serial port operation multi-machine c
Template
- C8051F120的串口通信,有命令格式,有超时检测,有校验和功能,使用了PLL提升了系统频率。经过测试。有端口和使用说明文件,工程文件完整,移植方便。使用下面的功能:UART RS232 PLL GPIO Timer-C8051F120 serial communication, a command format, a time-out detection, a checksum function, use the PLL to enhance the system frequency. Te
UARTmoni
- 单片机通用模拟串口C程序,必需根据波特率来设定定时器-Single-chip Universal Serial C simulation procedures, required under the baud rate to set the timer
14SPI
- c8051f系列单片机的SPI 并行/串行通信源程序 Cygnal出的一种混合信号系统级单片机。片内含CIP-51的CPU内核,它的指令系统与MCS-51完全兼容。其中的C8051F020单片机含有64kB片内Flash程序存储器,4352B的RAM、8个I/O端口共64根I/O口线、一个12位A/D转换器和一个8位A/D转换器以及一个双12位D/A转换器、2个比较器、5个16位通用定时器、5个捕捉/比较模块的可编程计数/定时器阵列、看门狗定时器、VDD监视器和温度传感器等部分。C805
Auto_Timer
- 添加自动计时器的RS232接口收发数据并显示 -Add automatic timer to send and receive RS232 data interface and display
WindowsAPI
- 1.了解使用MFC编写Windows应用程序的一般方法,熟悉Windows API 接口函数的使用; 2.熟悉定时器Timer( )函数、RS232 API接口函数的使用,两者之间的协调工作。 -Windows API
IOandRS232
- /********************************************** IO 口模拟232通讯程序 使用两种方式的C程序 占用定时器0 **********************************************/-I /********************************************** IO Simulation the use of the communication process 232 o
timer_to_uart_avr
- Using Timer as UART in AVR
timer
- 51单片机实现的4路设备工作时间计时器,有C51源码和Proteus仿真文件,还包括VB编写的上位机数据采集程序源码,通过串行口读取设备工作时间数据。-4-way MCS51 hours timer device, a C51 source and the Proteus simulation files, including VB, PC data acquisition program source code, read through the serial port device work
mscomm
- 根据系统功能的要求,主站需发送2种类型的命令:(1)同期命令,它由定时器触发引起,每隔ls周期发送1次;(2)非周期性命令,它由操作者按动相应命令按钮引起,非周期性发送。自动监控系统软件安装在主站上,而通信程序作为自动监控系统软件的一部分也安装在主站上。 -According to the system functional requirements, the main points need to send 2 types of commands: (1) In the same order,
cominit.RAR
- 串口通讯定时器初值计算的一个小工具。再也不用复杂的计算了,直接点击晶振频率和想要的波特率,就可以得到定时器初值。-Serial communication timer initial parameters of a small tool. No more complicated calculations, and direct hits crystal frequency and desired baud rate, you can get the timer initial value.
serialport
- 串口通信 通过定时器自动发送1--100到接收方-Automatically sent via serial communication Timer 1-100 to receiver
interrupt
- 学生学习嵌入式单片机教程汇总的中断函数,包含各种外部,串口及定时器中断-Embedded MCU learning tutorial summary of the interrupt function, including a variety of external, serial port and timer interrupts
Timer
- C#编写的定时与串口通信程序,可以实现精确定时-Written in C# timing and serial communication program, precise timing can be achieved
ANDAN4
- 四个串口之间的通信,通过定时器,每秒对四个串口读数,完成彼此通信-Serial communication between the four,Through the timer, second reading of the four serial ports,Communicate with each other to complete
the-source-code-of-electronic-scale
- (1)初始化定时器与中断控制寄存器,初始化液晶显示器,设置串口通信波特率。 (2)启动双积分AD转换过程,循环读取反向积分的计数值N,根据式3-7算出反向积分的计时值T2,换算出荷载重量值,送LCD显示。 (3)每次换算出荷载重量值后,判断荷载是否超量程,如果超过系统量程2kg,则启动蜂鸣器报警。当荷载卸载至2kg以下后,解除报警。 (4)如果有校准按键被按下,则响应外部中断0并查询按键编号,执行相应校准程序。 (5)如果上位机软件STP_ISP发送了在线控制命令,则响应串口中断
Define-a-timer
- 定义一个定时器,每隔一段时间就访问一次串口.-Define a timer, once every so often to access the serial port.
