立即注册 登录
返回首页

uid:325161的个人空间

日志

STC15F2K60s2单片机外接串口实验
2018-12-3 16:12
#include"STC15F2K60S2.h" #include "string.h" #define uchar unsigned char #define Machine_Focs 11059200L //晶振频率 #define BAUD1 19200 //波特率 sbit Key3 = P1^7; sbit Key1 = P3^2; sbit Key2 = P3^3; //sbit P_RXD=P1^0; //模拟串口接收 //sbit P_TXD=P1^ ...
个人分类: STC单片机|1040 次阅读|0 个评论
STC15F2K60s2单片机串口通信实验
2018-12-3 15:52
#include"STC15F2K60S2.h" #include "string.h" #define uchar unsigned char #define Machine_Focs 11059200L //晶振频率 #define BAUD1 19200 //波特率 sbit Key3 = P1^7; sbit Key1 = P3^2; sbit Key2 = P3^3; sbit P_RXD=P1^0; //模拟串口接收 sbit P_TXD=P1^1; ...
个人分类: STC单片机|1463 次阅读|0 个评论

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

返回顶部