Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

How to build serial communication with Intel Galileo ?

PENGSHEN_Y_
Beginner
1,067 Views

char number;
void setup()
{
Serial.begin(9600);
pinMode(13,OUTPUT);
 
}
void loop()
{
if(Serial.available())
{
number = Serial.read();
Serial.println(number);
if(number=='A')
{digitalWrite(13,HIGH);}
if(number=='B')
{digitalWrite(13,LOW);}
}
}

 

 

I want to use bluetooth (control by mobile phone) to control the pin13 LED.

I use HC-06 bluetooth model to do that , the RX of HC-06 is connect to TX of Galileo and TX of HC-06 is connect to RX of Galileo.

However it fail   , I dont know the reason but it sucessful on ARDUINO , I want to find some help

0 Kudos
3 Replies
PENGSHEN_Y_
Beginner
1,067 Views

It is successful on laptop to control the LED13 , but i could not use HC-06 to control it  :(

0 Kudos
Amr_E_1
Beginner
1,067 Views

I d have the same problem. It works with Arduino but not with Galileo. Moreover, with Galileo, I see the potentiometer reading on the serial monitor, but BT HC 06 is unable to send to my android tab

0 Kudos
Derp_K_
New Contributor I
1,067 Views

Check this link

Link

Regards

0 Kudos
Reply