Packing list:
6 bit Green LED's Board(Does not include);
Description:
Can be inserted directly into Arduiuo uno mega2560 Breadboard,Ideal for linking up,or others MCU ( AVR STM32 ARM7 ARM9 ARM10 ARM11 PIC C8051 C51 STC MSP430 FPGA/CPLD etc.)
6 bit Green Common Cathode LEDs.
2 7 PIN OUT 2.54mm
3 1K ohm Limiting resistor
4 Power Supply Voltage: 3.3-12V;
5 Size: 17.78MM x 11.43MM.
PCB:
Circuit schematics :
Connection with Arduiuo(Only 6 bit LED's Board) :
Circuit schematics :
Arduiuo uno/mega2560 Code
//******************************************************//
/*
Arduiuo_6led
This example code is in the public domain.
*/
// give it a name:
int D1 = 13;
int D2 = 12;
int D3 = 11;
int D4 = 10;
int D5 = 9;
int D6 = 8;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
pinMode(D3, OUTPUT);
pinMode(D4, OUTPUT);
pinMode(D5, OUTPUT);
pinMode(D6, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(D1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a 200 Millisecond
digitalWrite(D1, LOW); // turn the LED off by making the voltage LOW
digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(200); // wait for a Millisecond