8 Replies Latest reply on Feb 1, 2016 11:06 AM by FabioCRS4

    Serial communication between two Intel Galileo Gen 2

    FabioCRS4

      Hi,

       

      I'm new in using Intel Galileo, and I'm trying to connect two Intel Galileo Gen 2 in order to communicate each other.

       

      I've linked pin 0 (rx) of board "A" with pin 1 (tx) of board "B" and viceversa. I've also connected the two ground together.

       

      On the board "A" I've loaded this sketch:

       

       

       

      byte b = 0x00;

       

      void setup() {

        Serial.begin(115200);

      }

       

      void loop()

      {

        Serial.write(b);

      }

       

       

       

      On the board "B" I've loaded this one:

       

      byte num;

       

      void setup() {

      Serial.begin(115200);

      }

       

      void loop() {

      if(Serial.available()>0) {

           num = Serial.read();

        }

        Serial.println(num);

      }

       

      Obviously, board "B" doesn't receive anything. But why?

      Please, help me.