ApkDownload

Bluetooth Arduino LEDs APK

Dernière version 1 pour Windows
Mise à jour 02 March 2015

Informations

Version 1 (#1)

Mise à jour 02 March 2015

Taille APK 1.4 MB

Nécessite Android Android 1.5+ (Cupcake)

Proposée par Net Andino

Catégorie App de Enseignement Gratuits

App id appinventor.ai_ventasnetandino.BluetoothArduinoLed

Notes d'auteur Communication Arduino Bluetooth Synchronisation

Captures d'écran

Cliquez sur l'image pour la voir en taille réelle

Tableau des matières

Description

Contrôle Arduino via Bluetooth, vous pouvez activer et désactiver un Led

Les données qui envoie l'APP
Bouton rouge = 'r'
Touche verte = g '
Bouton Bleu = 'b'


liens Pin = Ce sélectionne le module Bluetooth à connecter et / ou synchroniser

Comment par exemple utilisera les temrnales 5, 6 et 7 ou d'autres critères que; Logo Bluetooth pour se connecter


// HOME

LEDr int = 5; // Red Button
LEDG int = 6; // Green Button
LEDB int = 7; // Blue Button

vel int = 255; // Intencidad Couleur

status int = 'a'; // Commence arrêtés ou Off

Statut int = 0;

void setup () {

  Serial.begin (9600); // Lancer le port série pour la communication avec Bluetooth

  pinMode (LEDr, SORTIE);

  pinMode (LEDG, SORTIE);

  pinMode (LEDB, SORTIE);

}

void loop () {

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

Status = Serial.read ();

}

if (statut == 'r') {

digitalWrite (LEDr, HIGH);

digitalWrite (LEDG, LOW);

digitalWrite (LEDB, LOW);

}

if (statut == 'g') {

digitalWrite (LEDr, LOW);

digitalWrite (LEDG, HIGH);

digitalWrite (LEDB, LOW);

}

if (statut == 'b') {

digitalWrite (LEDr, LOW);

digitalWrite (LEDG, LOW);

digitalWrite (LEDB, HIGH);

}

}

// FIN


Plus de manuels http://manual.netandino.net

Notes et avis

Note: 4.0 sur 5 · Less than 100 votes

(*) est nécessaire

Versions précédentes

Bluetooth Arduino LEDs 1 APK pour Windows (#1, 1.4 MB)