Bluetooth Arduino LEDs

Bluetooth Arduino LEDs

Net Andino
Aug 9, 2015
  • 1.4 MB

    Tamanho do arquivo

  • Android 1.5+

    Android OS

Sobre este Bluetooth Arduino LEDs

Comunicação Arduino Sincronização Bluetooth

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

Mostrar mais

Novidades em 1 mais recente

Last updated on Aug 9, 2015
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Mostrar mais

Vídeos e capturas de tela

  • Bluetooth Arduino LEDs Cartaz
  • Bluetooth Arduino LEDs imagem de tela 1

Informações sobre Bluetooth Arduino LEDs APK

Última Versão
1
Categoria
Educação
Android OS
Android 1.5+
Tamanho do arquivo
1.4 MB
Desenvolvedor
Net Andino
Downloads seguros e rápidos de APK no APKPure
O APKPure usa verificação de assinatura para garantir downloads de APK Bluetooth Arduino LEDs sem vírus para você.

Versões Antigas de Bluetooth Arduino LEDs

APKPure ícone

Baixar de Forma Rápida e Segura via APKPure App

Um clique para instalar arquivos XAPK/APK no Android!

Baixar APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies