说明 在Arduino Uno 开发板上连接红绿双色灯 下面程序来让这个双色LED灯闪烁。 代码 // 配置LED对应引脚 const int redPin = 11;// red LED const int greenPin = 10;// blue LED void setup() { // 设置两引脚为输出模式