ES=1; //开启串行口中断
}
}
} //少了两个 } main函数
}
void send(uint tmp) //前面最好加上 void
{ if(tmp!=0)
//这个函数后边多了两个 }
你把函数 send(uint tmp) 写在函数 main()里面了。