

Multicolor Rapid Prototyping LED for Arduino UNO MEGA2560 LoL Shiel PRO Mini
Description:
Can be inserted directly into Arduino uno r3 mega2560,Ideal for linking up to your Arduino UNO Mini Nano Mega2560 etc,or others MCU ( AVR STM32 ARM7 ARM9 AMR10 PIC AT89C51 STC MSP430 FPGA CPLD etc.)
Note : White LED light than any other color lights, so use PWM reducing the brightness(reflected on arduino code)
1 6 bit Multicolor Common Cathode LEDs.
2 Multicolor are White Blue Chartreuse Yellow Pink Red.
3 7 PIN OUT 2.54mm
4 1K ohm Limiting resistor
5 Power Supply Voltage: 3.3-12V;
6 Size: 17.78MM x 11.43MM.
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led1 = 13;
int led2 = 12;
int led3 = 11;
int led4 = 10;
int led5 = 9;
int led6 = 8;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led1, OUTPUT);
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(led5, OUTPUT);
pinMode(led6, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led1, HIGH);
delay(100);
digitalWrite(led1, LOW);
digitalWrite(led2, HIGH);
delay(100);
digitalWrite(led2, LOW);
digitalWrite(led3, HIGH);
delay(100);
digitalWrite(led3, LOW);
digitalWrite(led4, HIGH);
delay(100);
digitalWrite(led4, LOW);
digitalWrite(led5, HIGH);
delay(100);
digitalWrite(led5, LOW);
digitalWrite(led6, HIGH);
delay(100);
digitalWrite(led6, LOW);
digitalWrite(led1, HIGH);
delay(100);
// wait for a second
}