摘要:
源码:/* 11.0592MHz, 波特率1200 */#include<reg51.h>#include<stdio.h>//头文件typedef unsigned int uint;/*********************************************************// delay(255); //当参数为char时时间为0.55881ms 参数//为整形时时间为2.22005ms,基本上相当于4倍// delay(100); //0.22244ms 0.87457ms// dela... 阅读全文
摘要:
pc代码:csharp串口接收.7zusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO.Ports;using System.Threading;namespace WindowsFormsApplication2{ public partial class F... 阅读全文