Bluetooth Arduino LED

Translate the description into English (United States) using Google Translate?Translate the description back to Spanish (Latin America)

Controlar Arduino mediante bluetooth, puede prender y apagar un Led

Datos que envia el APP

Boton Verde "Encender" = 'h'
Boton Rojo "Apagar" = 'l'

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

Cómo ejemplo Usaremos el 13 y GND; Prenda con Botorn Verde y Apague con Boton Rojo

//INICIO
int Led = 13;
int Status=0;

void setup(){
Serial.begin(9600);
pinMode(Led,OUTPUT);
}

void loop(){
if(Serial.available()!=0){
Status= Serial.read();
}
if (Status =='h'){
digitalWrite(Led,HIGH);
}
if(Status=='l'){
digitalWrite(Led,LOW);
}
}
//FIN

Más Manuales en http://manual.netandino.net
Controlling Arduino via Bluetooth, you can turn on and off a led

Data that sends the APP

Pin Green "Power" = 'h'
Red Button "Off" = 'l'

Pin links = This selects the Bluetooth module to be connected and / or synchronize

How example will use the 13 and GND; Botorn garment with Green and Red Button Switch with

// HOME
Led int = 13;
int Status = 0;

void setup () {
Serial.begin (9600);
pinMode (LED, OUTPUT);
}

void loop () {
if (Serial.available ()! = 0) {
Status = Serial.read ();
}
if (status == 'h') {
digitalWrite (LED, HIGH);
}
if (status == 'l') {
digitalWrite (LED, LOW);
}
}
// END

More Manuals http://manual.netandino.net
Read more
Collapse
3.0
8 total
5
4
3
2
1
Loading...

What's New

Control Exlusivo Para uso de LEDs
Read more
Collapse

Additional Information

Updated
February 26, 2015
Size
1.5M
Installs
1,000+
Current Version
1.1
Requires Android
1.5 and up
Content Rating
Everyone
Permissions
Offered By
Net Andino
Developer
Jr. Victor Velez 339 Ind. Huaraz Ancash Perú
©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.