代码搜索:实时接收
找到约 10,000 项符合「实时接收」的源代码
代码结果 10,000
www.eeworm.com/read/25215/846211
c 12-5-3.c
#include //头文件
#include
#include
void main(void) //主函数
{
int i; //声明并初始化变量
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定时功
www.eeworm.com/read/25215/846225
c 12-3-2.c
#include //头文件
#include
void main(void) //主函数
{
char ch;
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定时功能,模式2
PCON|=0x80; //设置SMOD=1
www.eeworm.com/read/25215/846226
c 12-4-4.c
#include //头文件
#include
#include
void main(void) //主函数
{
float x=4.5; //声明并初始化变量
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定
www.eeworm.com/read/25215/846233
c 12-3-1.c
#include //头文件
#include
void main(void) //主函数
{
char ch;
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定时功能,模式2
PCON|=0x80; //设置SMOD=1
www.eeworm.com/read/25215/846240
c 12-3-4.c
#include //头文件
#include
#include
void main(void) //主函数
{
char k;
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定时功能,模式2
PCON|=0x80;
www.eeworm.com/read/25215/846247
c 12-3-5.c
#include //头文件
#include
#include
void main(void) //主函数
{
char k;
SCON=0x50; //串口模式1,允许接收
TMOD|=0x20; //初始化T1为定时功能,模式2
PCON|=0x80;
www.eeworm.com/read/35654/895119
4g+̤ 2.4g+̤
unsigned char ur_data=0; //存储串口接收到的数据
//串口初始化
void Usart_Init(unsigned int baud)
{
DDRD|=0X02; //TXD设置输出,增强抗干扰能力。
DDRD&=~(1
www.eeworm.com/read/35654/895132
4g+̤ 2.4g+̤
unsigned char ur_data=0; //存储串口接收到的数据
//串口初始化
void Usart_Init(unsigned int baud)
{
DDRD|=0X02; //TXD设置输出,增强抗干扰能力。
DDRD&=~(1
www.eeworm.com/read/40534/917560
plg project.plg
礦ision3 Build Log
Project:
C:\Documents and Settings\Administrator\桌面\串行通信程序-先接收再发送\Project.uv2
Project File Date: 05/11/2007
Output:
Build ta
www.eeworm.com/read/40534/917698
h uart.h
#ifndef __UART_H__
#define __UART_H__
//串口波特率初始化已经在AUTO_ISP.H中完成
//发送1字节
void uart_put_uchar(unsigned char c)
{
SBUF = c;
while(!TI);
TI = 0;
}
//接收1字节
unsigned char uart_get