51单片机一键下载相关
void tm0() interrupt 1 using 1
{
}
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
用STC-ISP V6.03、STC-ISP V4.88默认的最低波特率不同,
懒得每次修改,
重新写了个程序,
自动适应3种最低波特率:1200bps/2400bps/4800bps
#define uint8
#define uint16 unsigned int
#include "STC15F104E.H"
sbit RXB
sbit Key
sbit Relay = P3^3;
sbit LED
uint8 RBUF;
uint8 RDAT;
uint8 RCNT;
uint8 RBIT;