51单片机串口通信232通信485通信程序代码1:232通信include<reg52.h>define uchar unsigned chardefine uint unsigned intuchar flagaiuchar code table[]=i getvoid init(){TMOD=0X20TH1=0XFDTH0=0XFDTR1=1REN=1SM0=0SM1=1EA=1ES=1