#include sbit led_R=P3^2;//定义红灯 sbit led_G=P3^3;//定义绿灯 sbit led_B=P3^4;//定义蓝灯 sbit led_Y=P3^5;//定义黄灯 void Delay1000ms() //@12.000MHz { unsigned char i, j, k; i = 46; j = 153; k = 245; do { do { while (--k); } while (--j); } while (--i); } main() { whil