Bluetooth Arduino LEDs

Bluetooth Arduino LEDs

Net Andino
09/08/2015
  • 1.4 MB

    اندازه فایل

  • Android 1.5+

    Android OS

درباره‌ی Bluetooth Arduino LEDs

Communication Arduino Bluetooth Synchronization

Controlar Arduino mediante bluetooth, puede prender y apagar un Led

Datos que envia el APP

Boton Rojo = 'r'

Boton Verde = g'

Boton Azul = 'b'

Boton Enlaces = Esta selecciona el Modulo Bluetooth a que se va a conectar y/o sincronizar

Cómo ejemplo Usaremos los temrnales 5, 6 y 7 u otros según criterio; Logo Bluetooth para conectar

//INICIO

int LedR = 5; // Boton Rojo

int LedG = 6; // Boton Verde

int LedB = 7; // Boton Azul

int vel = 255; // Intencidad de Colores

int estado = 'a'; // inicia detenido o Apagado

int Status=0;

void setup() {

Serial.begin(9600); // inicia el puerto serial para comunicacion con el Bluetooth

pinMode(LedR, OUTPUT);

pinMode(LedG, OUTPUT);

pinMode(LedB, OUTPUT);

}

void loop(){

if(Serial.available()!=0){

Status= Serial.read();

}

if (Status =='r'){

digitalWrite(LedR,HIGH);

digitalWrite(LedG,LOW);

digitalWrite(LedB,LOW);

}

if (Status =='g'){

digitalWrite(LedR,LOW);

digitalWrite(LedG,HIGH);

digitalWrite(LedB,LOW);

}

if (Status =='b'){

digitalWrite(LedR,LOW);

digitalWrite(LedG,LOW);

digitalWrite(LedB,HIGH);

}

}

//FIN

Más Manuales en http://manual.netandino.net

نمایش بیشتر

جدیدترین 1 چه خبر است

Last updated on 09/08/2015
Minor bug fixes and improvements. Install or update to the newest version to check it out!
نمایش بیشتر

گیم پلی و اسکرین شات

  • پوستر Bluetooth Arduino LEDs
  • برنامه‌نما Bluetooth Arduino LEDs عکس از صفحه

نسخه‌های قدیمی Bluetooth Arduino LEDs

آیکون‌ APKPure

دانلود فوق سریع و ایمن از طریق برنامه APKPure

برای نصب فایل های XAPK/APK در اندروید با یک کلیک!

دانلود APKPure
thank icon
ما از کوکی ها و فناوری های دیگر در این وبسایت برای بهبود تجربه کاربری شما استفاده می کنیم.
با کلیک بر روی هر پیوند در این صفحه شما دستور خود را برای سیاست حفظ حریم خصوصیاینجاو سیاست فایلمی دهید.
بیشتر بدانید