Elektrik Elektronik Teknolojisi Alanı Temrinleri

 
Hoşgeldiniz Ziyaretçi. Lütfen giriş yapın veya kayıt olun.

Kullanıcı adınızı, şifrenizi ve aktif kalma süresini giriniz

Son İletiler

Sayfa: [1] 2 3 ... 10
1
Elektronik / Motor uygulama devresi
« Son İleti Gönderen: Hasan ERTÜRK 25 Mayıs 2018, 09:55:56 »
Senaryo:
Start butonuna basılmasıyla beraber SW1 aktif olana dek motorun ileri yönde dönmesi isteniyor.
SW1 aktif olduğu anda ise SW2 aktif olana dek motor geri yönde dönecektir.
SW2 aktif olduğu anda ise motor duracaktır.

Açıklamalar:
Tristör olarak TIC106 kullanılabilir.
Devreyi normalde açık 3 kontağı bulunan 2 adet röle ile de tasarlamak mümkündür.
Devredeki tristörler motor ileri ya da geri yönde hareket ederken aktif olan röleyi mühürlemek için kullanılmıştır.
SW1 ve SW2 ortak uçlu çift kontaklı (Her iki anahtarda da kontaklardan biri NC diğeri NO) anahtardır.
SW2 yerine NC (normalde kapalı tek kontaklı anahtar kullanılabilir.





2
Robot uygulamaları / 6. Masadan düşmeyen robot
« Son İleti Gönderen: Hasan ERTÜRK 24 Mayıs 2018, 15:15:39 »
Bu projemizde arduino ve Actobotics ActoBitty 2 alt yapısı ile masadan düşmeden robot yapacağız.

Seviye:
Orta seviye

<iframe width="640" height="385" src="//www.youtube.com/embed/UX5XkaqKL90?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Video 1: Masadan düşmeyen robot


Fotoğraf 1: Masadan düşmeyen robot


Fotoğraf 2: Masadan düşmeyen robot


Fotoğraf 3: Masadan düşmeyen robot


Fotoğraf : Masadan düşmeyen robot
Devre şeması:

Şema 1: Masadan düşmeyen robot frtitzing devre şeması

Malzeme listesi:

Arduino kodu:
Kod: [Seç]
#include <SharpIR.h>
#define IR A0
#define model 430
SharpIR SharpIR(IR, model);
#define CW  0
#define CCW 1
#define MOTOR_A 0
#define MOTOR_B 1
const byte PWMA = 3; 
const byte PWMB = 11;
const byte DIRA = 12;
const byte DIRB = 13;
void setup()
{
 Serial.begin(9600);
 setupArdumoto();
}
void loop()
{
 int mesafe=SharpIR.distance();
 String distance = String(mesafe);
 Serial.print("mesafe = ");
 Serial.print(mesafe);
 Serial.print(" cm");
 Serial.print("\n");
 delay(10);
 if (mesafe < 10){ileri();} else don();
}
void driveArdumoto(byte motor, byte dir, byte spd)
{
  if (motor == MOTOR_A)
  {
    digitalWrite(DIRA, dir);
    analogWrite(PWMA, spd);
  }
  else if (motor == MOTOR_B)
  {
    digitalWrite(DIRB, dir);
    analogWrite(PWMB, spd);
  } 
}
void stopArdumoto(byte motor)
{
  driveArdumoto(motor, 0, 0);
}
void setupArdumoto()
{
  pinMode(PWMA, OUTPUT);
  pinMode(PWMB, OUTPUT);
  pinMode(DIRA, OUTPUT);
  pinMode(DIRB, OUTPUT);
  digitalWrite(PWMA, LOW);
  digitalWrite(PWMB, LOW);
  digitalWrite(DIRA, LOW);
  digitalWrite(DIRB, LOW);
}
void ileri()
{
 driveArdumoto(MOTOR_A, CW, 75); 
 driveArdumoto(MOTOR_B, CW, 75);
}
void don()
{
 driveArdumoto(MOTOR_A, CCW, 75); 
 driveArdumoto(MOTOR_B, CCW, 75);
 delay(750);   
 driveArdumoto(MOTOR_A, CW, 75); 
 driveArdumoto(MOTOR_B, CCW, 75);
 delay(750);
}

İhtiyaç duyulması halinde konuya ait dosyaları konu ekinden indirebilirsiniz.

3
Robot uygulamaları / 5. Engelden kaçan robot
« Son İleti Gönderen: Hasan ERTÜRK 21 Mayıs 2018, 22:28:50 »
Bu projemizde arduino ve Actobotics ActoBitty 2 alt yapısı ile engelden kaçan robot yapacağız.

Seviye:
Orta seviye

<iframe width="640" height="385" src="//www.youtube.com/embed/bIf-HsojC2Y?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Video 1: Engelden kaçan robot


Fotoğraf 1: Engelden kaçan robot


Fotoğraf 2: Engelden kaçan robot


Fotoğraf 3: Engelden kaçan robot


Fotoğraf 4: Engelden kaçan robot


Devre şeması:

Şema 1: Engelden kaçan robot frtitzing devre şeması

Malzeme listesi:

Arduino kodu:
Kod: [Seç]
#include <SharpIR.h>
#define IR A0
#define model 430
SharpIR SharpIR(IR, model);
#define CW  0
#define CCW 1
#define MOTOR_A 0
#define MOTOR_B 1
const byte PWMA = 3; 
const byte PWMB = 11;
const byte DIRA = 12;
const byte DIRB = 13;
void setup()
{
 Serial.begin(9600);
 setupArdumoto();
}
void loop()
{
 int mesafe=SharpIR.distance();
 String distance = String(mesafe);
 Serial.print("mesafe = ");
 Serial.print(mesafe);
 Serial.print(" cm");
 Serial.print("\n");
 delay(10);
 if (mesafe > 5){ileri();} else don();
}
void driveArdumoto(byte motor, byte dir, byte spd)
{
  if (motor == MOTOR_A)
  {
    digitalWrite(DIRA, dir);
    analogWrite(PWMA, spd);
  }
  else if (motor == MOTOR_B)
  {
    digitalWrite(DIRB, dir);
    analogWrite(PWMB, spd);
  } 
}
void stopArdumoto(byte motor)
{
  driveArdumoto(motor, 0, 0);
}
void setupArdumoto()
{
  pinMode(PWMA, OUTPUT);
  pinMode(PWMB, OUTPUT);
  pinMode(DIRA, OUTPUT);
  pinMode(DIRB, OUTPUT);
  digitalWrite(PWMA, LOW);
  digitalWrite(PWMB, LOW);
  digitalWrite(DIRA, LOW);
  digitalWrite(DIRB, LOW);
}
void ileri()
{
 driveArdumoto(MOTOR_A, CW, 75); 
 driveArdumoto(MOTOR_B, CW, 75);
}
void don()
{
 driveArdumoto(MOTOR_A, CW, 75); 
 driveArdumoto(MOTOR_B, CCW, 75);
 delay(750);
}

İhtiyaç duyulması halinde konuya ait dosyaları konu ekinden indirebilirsiniz.

Ben uğraşamam hazır almak istiyorum diyenler için satın alma linki için buraya tıklayınız.
4
Led ve Buton uygulamaları / 15. Neopixelled uygulaması 2
« Son İleti Gönderen: Hasan ERTÜRK 20 Mayıs 2018, 13:04:41 »
34 adet led aşağıdaki videolarda görüldüğü gibi yanar. Aynı devreyi kullanarak farklı kodlamalarla daha farklı ışık efektleri yapabilirsiniz. Devre 6 ile 38 Voltluk dc gerilimle beslenebilir. Besleme gerilimi XL4015 ayarlanabilir DC/DC voltaj regülatörü girişine uygulanmalıdır. Devreye enerji uygulanmadan önce dc kaynağın çıkış voltajı 8,5 Volta ayarlanmalıdır.

<iframe width="640" height="385" src="//www.youtube.com/embed/VlDIaddCsss?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Video 1: Neopixel led uygulaması

<iframe width="640" height="385" src="//www.youtube.com/embed/PZV7pKqVaqk?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Video 2: Neopixel led uygulaması


Fotoğraf 1: Montajı tamamlanmış devre


Şema 1: ARES devre şeması


Şema 2: ARES devre şeması


Şema 3: Fritzing devre şeması

Malzeme listesi:

Arduino kodları:
[code]#include <Adafruit_NeoPixel.h>  // neopixel kutuphanesi eklendi
#define PIN 6 // Digital 6. pini neopixelleri surmek icin kullaniyoruz
#define NUMPIXELS 34  // 34 adet ledimiz var

Adafruit_NeoPixel NeoPixel = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ800);

void setup() {
  NeoPixel.setBrightness(255);
  NeoPixel.begin();
  NeoPixel.show();
}

void loop() {
hepsi_kirmizi();
delay(1000);
hepsi_yesil();
delay(1000);
hepsi_mavi();
delay(1000); 
renk1();
delay(1000);
renk2();
delay(1000);
renk3();
delay(1000);
renk4();
delay(1000);
renk5();
delay(1000);
renk6();
delay(1000);
renk7();
delay(1000);
renk8();
delay(1000);
hepsi_son();
delay(1000);
kirmizi_dus();
delay(1000);
yesil_dus();
delay(1000);
mavi_dus();
delay(1000);
sirali_dus();
delay(1000);



}

void hepsi_kirmizi()
{
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(22,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(23,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(24,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(25,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(26,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(28,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(29,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
}   

void hepsi_yesil()
{
NeoPixel.setPixelColor(0,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(22,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(23,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(24,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(25,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(26,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(27,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(28,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(30,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(33,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
}

void hepsi_mavi()
{
NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(22,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(23,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(24,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(25,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(26,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(27,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(29,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(30,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(32,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(33,NeoPixel.Color(0,0,255)); 
NeoPixel.show(); 
}

void hepsi_son()
{
NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(22,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(23,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(24,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(25,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(26,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(27,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(29,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(30,NeoPixel.Color(0,0,0));
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(32,NeoPixel.Color(0,0,0)); 
NeoPixel.setPixelColor(33,NeoPixel.Color(0,0,0)); 
NeoPixel.show();  // Renkleri ayarlanan ledler yakildi
}   

void kirmizi_dus()
{
NeoPixel.setPixelColor(22,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(23,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(24,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(25,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(26,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(28,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(29,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(31,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(32,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();


void yesil_dus()
{
NeoPixel.setPixelColor(22,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(23,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(24,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(25,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(26,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(27,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(28,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(30,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(31,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();


void mavi_dus()
{
NeoPixel.setPixelColor(22,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(23,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(24,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(25,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(26,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(27,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(29,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(30,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(32,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();


void sirali_dus()
{

NeoPixel.setPixelColor(22,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(23,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(24,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(25,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(26,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(28,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(29,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(31,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(32,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(22,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(23,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(24,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(25,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(26,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(27,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(30,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(31,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(22,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   

NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(23,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(24,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(25,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(26,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(27,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(29,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(30,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(22,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(23,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(24,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(25,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(26,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(28,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(29,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(22,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(23,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(24,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(25,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(26,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(27,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(22,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,0,255)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(23,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(24,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(25,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(26,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(27,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son(); 
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(22,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(255,0,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(23,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(14,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(24,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(15,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son(); 
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(25,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(16,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son(); 
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(26,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(17,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son(); 
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(27,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(18,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(22,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(13,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(12,NeoPixel.Color(0,255,0)); 
NeoPixel.show();
delay(100); // 100 ms bekle
hepsi_son();   
NeoPixel.setPixelColor(33,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(32,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(31,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(30,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(21,NeoPixel.Color(255,0,0)); 
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(29,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(20,NeoPixel.Color(0,255,0)); 
NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(28,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(19,NeoPixel.Color(0,0,255)); 
NeoPixel.setPixelColor(6,NeoPixel.Color
5
Elektronik / Ynt: Kopma ile çalışan alarm devresi
« Son İleti Gönderen: Hasan ERTÜRK 15 Mayıs 2018, 07:32:29 »
Bu da 2 ledli olanı.
6
Elektronik / Kopma ile çalışan alarm devresi
« Son İleti Gönderen: Hasan ERTÜRK 13 Mayıs 2018, 21:46:25 »


Tetik isimli swich bir iletkeni temsil etmekte olup, bekleme anında Q1 beyzini şase potansiyelinde tutar. Q1 yalıtımda olduğundan scr tetiklenmez, röle çekmez, led yanmaz.

Kopma olduğunda C1 kondansötörü RV1 ve R4 üzerinden şarz olmaya başlar. Kondansatör uçlarındaki gerilim Q1'i iletime geçirebilecek değere ulaştığında Q1 iletime geçer. Q1'in iletime geçmesi scryi tetikler, röle çeker, led yanar.

Kopan bağlantı tekrar oluşturulsa dahi Q1'in yalıtama geçmesine rağmen tristör reset butonuna dek iletimde kalmaya devam eder.
7
Elektronik / Tek butonla on off
« Son İleti Gönderen: Hasan ERTÜRK 10 Mayıs 2018, 19:39:15 »

<iframe width="640" height="385" src="//www.youtube.com/embed/yT5fq3ZUfzU?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Devreye enerji uygulandığında R3 ve R1 üzerinden beyz polaması alan Q2 iletime geçer, led yanar. Q2’nin iletime geçmesiyle beraber  A noktasındaki gerilim yaklaşık 0 Volta çekilir. A noktasındaki gerilim 0,7  Voltun altında kaldığı için B noktasına bağlı olan C2 kondansatörü maksimum A noktasındaki voltaja kadar şarz olabilir. Dolayısıyla Q1’i iletime geçirebilecek beyz polarması oluşmaz.
Bu arada C1 kondansatörü R3 ve R2 üzerinden besleme gerilimine  şarz olur. Butona basılmasıyla beraber C1 uçlarındaki gerilim C2 yi de besleme gerilime şarz etmekle beraber Q1’in beyz polarmasını sağlar ve Q1 iletime geçer. Bu işlem neticesinde C1, Q1’in beyz emiteri üzerinden deşarz olur. Q1’in iletime geçmesi C noktasındaki gerilimi yaklaşık 0 Volta çeker. C noktasındaki gerilimin 0 Volta düşmesiyle Q2’nin beyz polarması kesilir ve led söner.
R4 ve R6 üzerinden beyz polarması alan Q1 iletimde kalmaya devam eder. C noktasındaki gerilim Q1’in iletimde olması nedeniyle yaklaşık 0 Volttur. Bu nedenle C1 tekrar besleme gerilimine şarz olma imkanı bulamaz.
Butona tekrar basıldığında C1 boş olduğundan C1 uçları ilk anda kısa devre gibi davranacağından B noktasındaki gerimi 0 Volta çeker. Q1 beyz polarması kesilir ve Q1 kesime gider.
R3 ve R1 üzerinden beyz polarması alan Q2 tekrar iletime geçerek başlangıca dönülmüş olur. Butona her basışta anlatılanlar periyodik olarak devam eder.
8
Elektronik / Tristörün durdurulması
« Son İleti Gönderen: Hasan ERTÜRK 09 Mayıs 2018, 20:57:48 »


9
Projeler / Ynt: 11. Arduino ile termostat yapımı
« Son İleti Gönderen: Hasan ERTÜRK 07 Mayıs 2018, 18:45:09 »
beyenmedim olmuyor kodda hata var
Siz beğenin diye eklemedim zaten.
10
Led ve Buton uygulamaları / 14. Neopikxel Adreslenebilir Led Uygulaması
« Son İleti Gönderen: Hasan ERTÜRK 03 Mayıs 2018, 16:58:18 »
Bu projemizde adreslenebilir neopikxel ledleri tanıtıp, örnek bir uygulamayı paylaşacağız.

Ön Bilgi:
Led teknolojisi geliştikçe sıradan ledler yerlerini RGB ledlere ve şerit ledlere bıraktı. Sıradan ledler kırmızı, sarı, yeşil, mavi gibi tek bir renkte ışık verebilirken RGB ve şerit ledler farklı renklerde ışık verebilmekte.

12 ledden oluşan bir şerit led düşünelim. Bu şerit ledimizi farklı renklerde yakabiliyoruz. Ancak şeritteki bütün ledler aynı renkte yanmaktadır, ve aynı anda sönmektedir. Adreslenebilir neopikxel ledlerden yapılmış bir şerit leddeki ledlerin her birini farklı bir renkte, farklı bir parlaklıkta yakabilir, istediğimiz ledi söndürebiliriz. Bunu yapabilmek için bir mikrodenetleyiciye ihtiyacımız var. Bu projemizde 12 adetten oluşan adreslenebilir neopikxel ledlerimizi arduino ile süreceğiz. 12 adet RGB ledi arduino ile sürmek istersek her bir led için birer tane I/Q pini kullanma zorunluluğu ortaya çıkacaktır. Oysa ki adreslenebilir neopikxel ledlerimizin tamamını sürebilmek için bize 1 adet pwm özellikli 1 adet I/Q pini kullanmak yeterlidir. Bu pin tasarrufu bakımından da çok güzel bir özellikdeğil mi?

Neopikxel ledler normal ledler gibi tek tek satışa sunulabildiği gibi 4'lü, 8'li, 30'lu gibi gruplardan oluşan şerit, daire, yay ya da matris şeklinde de satılmaktadır.

Aşağıdaki fotoğraflarda çeşitli neopiksel ledleri görebilirsiniz.


Fotoğraf 1: 3'lü şerit


Fotoğraf 2: Esnek matris



Fotoğraf 3: Peşpeşe eklenebilir


Fotoğraf 4: 8x8 matris


Fotoğraf 5: Tekli


Fotoğraf 6: Çeyrek daire


Fotoğraf 7: Breadboard uyumlu


Fotoğraf 8: 7'li daire


Fotoğraf 9: 24'lü halka


Fotoğraf 10: 16'lı halka


Fotoğraf 11: 30'lu şerit


Fotoğraf 12: 8'li şerit

Neopikxel Led Pinleri

Fotoğraf 13: Neopiksel pinleri

Her bir neopixel led 4 pini bulunur. Bu pinlerin isimleri DIN, 5V, GND ve DOUT'tur. Mikrodenetleyiciden gelen bilgi işareti ilk ledin DIN pinine uygulanır. Diğer ledlerin DIN pinleri kendinden önce gelen ledin DOUT pinine paket içerisinde bağlıdır. Ayrıca bağlantı yapılması gerekmez. Ancak bu projemizde olduğu gibi tekli ledlerden bir şerit oluşturuyorsanız bu bağlantıları yapmanız gerekmektedir. Ledleri beslemek için 5Voltluk bir dc kaynağa ihtiyaç vardır. DC kaynağın pozitif kutbu ledin 5Volt pinine, negatif kutbu GND pinine bağlanmalıdır.

<iframe width="640" height="385" src="//www.youtube.com/embed/JElmZEP5efY?fs=1&start=" frameborder="0" allowfullscreen></iframe>
Video 1: Örnek Neopikxel led uygulaması


Fotoğraf 14: Montajı tamamlanmış devre


Fotoğraf 15: Montajı tamamlanmış devre

Devre şeması


Şema 1: Fritzing Devre Şeması

Arduino Kodları
Kod: [Seç]
#include <Adafruit_NeoPixel.h>  // neopixel kutuphanesi eklendi
#define PIN 6 // Digital 6. pini neopixelleri surmek icin kullaniyoruz
#define NUMPIXELS 12  // 12 adet ledimiz var

Adafruit_NeoPixel NeoPixel = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGB + NEO_KHZ800);

void setup() {
  NeoPixel.setBrightness(100);
  NeoPixel.begin();
  NeoPixel.show();
}

void loop() {
NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0));  // 1. ledi kirmizi ayarladik
NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));  // 2. ledi kirmizi ayarladik
NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0));  // 3. ledi kirmizi ayarladik
NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0));  // 4. ledi kirmizi ayarladik
NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));  // 5. ledi kirmizi ayarladik
NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255));  // 6. ledi yesil ayarladik
NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));  // 7. ledi yesil ayarladik
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));  // 8. ledi kirmizi ayarladik
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));  // 9. ledi kirmizi ayarladik
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));  // 10. ledi kirmizi ayarladik
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0)); // 11. ledi kirmizi ayarladik
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0)); // 12. ledi kirmizi ayarladik
NeoPixel.show();  // Renkleri ayarlanan ledler yakildi
delay(200); // 200 ms bekle

NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);


NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,255));
NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);


NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(3,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);


NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(0,NeoPixel.Color(0,255,0));
NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);


NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0));
NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(0,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(1,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(2,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(3,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(4,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(5,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(6,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(7,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(8,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(9,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(10,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(11,NeoPixel.Color(255,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(200);

NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(200);

for (int domiRobot = 1; domiRobot <= 5; domiRobot ++) {

NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(0,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(2,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(3,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(4,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(5,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(6,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(7,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(8,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(9,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(10,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(11,NeoPixel.Color(0,0,255));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(11,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(10,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(9,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(8,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(7,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(6,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(5,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(4,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(3,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(2,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(1,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(0,NeoPixel.Color(0,255,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(0,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(1,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(2,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(3,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(4,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(5,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(6,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(7,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(8,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(9,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(10,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);

NeoPixel.setPixelColor(11,NeoPixel.Color(255,0,0));
NeoPixel.show();
delay(50);}

}

Malzeme listesi

Download
İhtiyaç duyulması halinde  projeye ait dosyaları konu ekinden indirebilirsiniz.

Sayfa: [1] 2 3 ... 10