Hi,
I'm working on a Arduino robot remotable by Android via Bluetooth for my high school diploma, but since I set Bluetooth in my program, the Serial Monitor show Bluetooth data only, and without any Serial.print :-\
Here is my bluetooth code:
#include <SoftwareSerial.h>
SoftwareSerial Bluetooth(0, 1);
String commande;
void setup() {
Bluetooth.begin(9600);
}
// ############# Boucle principale #############
void loop() {
if (Bluetooth.available()) {
commande = "";
// Récupération de la commande
while(Bluetooth.available()) {
commande += (char)Bluetooth.read();
}
Bluetooth.println("Ça fonctionne !");
}
}
When I put Serial.begin(9600) in Setup() and I try Serial.println, the Serial monitor is blank
My bluetooth module is JY-MCU and I'm using the Arduino UNO
Thanks for your help
And sorry for my english