Arduino HC-05 appinventor

Bonjour, Je suis en train de rélaiser un projet en SI avec un module bluetooth lié à une carte arduino qui reçoit les informations de l’application (appinventor) et renvoie un ordre qui fait clignoter la Led du pin 13. Malheureusement je n’arrive pas à connecter mon téléphone ou il ya un problème de programme .

Ici le programme sur arduino : #include <SoftwareSerial.h> SoftwareSerial Bluetooth(11, 10);//rxPin, txPin

void setup() { Bluetooth.begin(9600) ; Serial.begin(9600); pinMode(13, OUTPUT); } void loop () { if (Bluetooth.read() == “1”){ digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); } }

Et ici le programme sur appinventor :

Image is fuzzy.

Check FAQ Bluetooth:
https://community.appinventor.mit.edu/search?q=faq%20bluetooth

Codes of Bluetooth and App Inventor:
http://kio4.com/appinventor/index.htm#bluetooth

The image of the blocks is illegible.
I am controlling stepper motors from an Arduino Uno board using a HC-06.
Arduino code - Do you need the software serial and bluetooth? My code is like this:-
void setup() { Serial.begin(9600); }
void loop() { if (Serial.available()>0){ received=Serial.read(); delay(10); if(received==‘s’){ digitalWrite(i,LOW); delay(10);}}

The blocks for Connecting Bluetooth are (I store all the variables in a database and edit in textboxes) but you could put the ID in as text:-


The blocks for sending are; you could just use Text “1”:-

Hope this helps