关于交通灯#include #define uint unsigned int #define uchar unsigned char sbit RED_A = P0^5; //A 东西 B 南北 sbit YELLOW_A = P0^6; sbit GREEN_A = P0^7; sbit RED_B = P0^4; sbit YELLOW_B = P0^3; sbit GREEN_B = P0^2;