Bluetooth Arduino LEDs icône

1 by Net Andino


Aug 9, 2015

À propos de Bluetooth Arduino LEDs

Français

Communication Arduino Bluetooth Synchronisation

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

Quoi de neuf dans la dernière version 1

Last updated on Aug 9, 2015

Minor bug fixes and improvements. Install or update to the newest version to check it out!

Chargement de la traduction...

Informations Application supplémentaires

Dernière version

Demande Bluetooth Arduino LEDs mise à jour 1

Telechargé par

Duyen Nguyen

Nécessite Android

Android 1.5+

Voir plus

Bluetooth Arduino LEDs Captures d'écran

Charegement du commentaire...
Langues
Recherche en cours...
Abonnez-vous à APKPure
Soyez le premier à avoir accès à la sortie précoce, aux nouvelles et aux guides des meilleurs jeux et applications Android.
Non merci
S'inscrire
Abonné avec succès!
Vous êtes maintenant souscrit à APKPure.
Abonnez-vous à APKPure
Soyez le premier à avoir accès à la sortie précoce, aux nouvelles et aux guides des meilleurs jeux et applications Android.
Non merci
S'inscrire
Succès!
Vous êtes maintenant souscrit à notre newsletter.