Hello,
we are trying to send data from LabVIEW to Arduino via Bluetooth module HC-06 ( we are using Bluetooth blocks in LabVIEW it comes with MakerHub),
the problem is that the Bluetooth is connected but there is nothing sent to the Arduino,
our program is turn the led on, please check our code and LabVIEW
Thank you
----------
Code:
char c;
String input;
void setup()
{
Serial.begin(115200);
pinMode(7,OUTPUT);
digitalWrite(7,LOW);
}
void loop()
{
if(Serial.available()){
c= Serial.read();
if(c=='A'){
digitalWrite(7,HIGH);
}
}
}