Arduino Blink Kodu. Arduino veya genuino kartınızı bilgisayarınıza taktıktan sonra arduino yazılımını ide başlatın ve aşağıdaki kodu girin. The standard arduino 2560 comes with the blink sketch preloaded blinking the light on and off in 1 second intervals.

Then we have written digitalwrite ledbuiltin low. Connect the cathode of the rgb led which is the longer pin of rgb led to the gnd of arduino and the other three pins to the pin 11 10 9 of arduino through the 220 ohm resistors. Arduino or genuino board optional led 220 ohm resistor circuit.
Set the pin to high 5v this will turn the led on.
Arduino or genuino board optional led 220 ohm resistor circuit. The first time you save your file youll be asked to choose a sketch folder name. Direnç zaten kart üzerinde mevcuttur. This includes an example sketch for making the l led blink.