LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with LabView Bluetooth Communications

Highlighted

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);
}

}

}

0 Kudos
Message 1 of 2
(540 Views)

There is a LabVIEW Interface for Arduino (LIFA) group on this Forum, and also MakerHub, which deals with LabVIEW + Arduino.  As you need both sets of expertise, you might have better luck asking in these two Forums.

 

Bob Schor

0 Kudos
Message 2 of 2
(474 Views)