Bluetooth Arduino LEDs APK
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
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
Vous aimerez peut-être aussi
Arduino & Android Bluetooth APK
Arduino Bluetooth RC 4 Channel APK
Bluetooth Arduino Led Pin13 ON APK
Du même développeur
Radio Melodia 105.3 FM Huaraz APK
ON OFF Enviar y Recibir datos por Bluetooth de uC APK
Bluetooth Arduino Carro Robot APK
Applications les plus téléchargées
فیلتر شکن جدید و قوی،فیلتر شکن قوی و پرسرعت رایگان APK