1 Nisan 2013 Pazartesi

Arduino Esplora Blink

Hamza Öztaş Share:
Image Hosted by ImageShack.us
Image Hosted by ImageShack.us

Code;



#include <Esplora.h>
void setup()
{
}
void loop() {
  Esplora.writeRGB(255,0,0);    // make the LED red
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(0,255,0);    // make the LED green
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(0,0,255);    // make the LED blue
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(255,255,0);  // make the LED yellow
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(0,255,255);  // make the LED cyan
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(255,0,255);  // make the LED magenta
  delay(1000);                  // wait 1 second
  Esplora.writeRGB(255,255,255);// make the LED white
  delay(1000);                  // wait 1 second
}
Tarafından Yayınlandı >> Hamza Öztaş

Hamza Öztaş'ı google plus'ta takip etmek için Google'a tıklayın;
Google+.

0 yorum:

Get Updates in your Email
Complete the form below, and we'll send you our best of articles.

İletişim

© >> |
TOP