Go Down

Topic: Arduino Due with Razor 9DOF (Read 559 times) previous topic - next topic

bellini

I connect my Razor 9DOF in my arduino board using the serial pin (TX/RX), but I do not see anything!

I have connected the pins as well:
RAZOR  <-->  ARDUINO
TX0   <-->  RX1(19)
RX1   <-->  TX1(18)
3.3V  <-->  3.3V
GND   <-->  GND

And this is my code for test:
Code: [Select]
void setup() {
  // put your setup code here, to run once:
  Serial.begin(9600);
  Serial1.begin(57600);

}

void loop() {
  // put your main code here, to run repeatedly:
  while (Serial1.available() > 0) {
    Serial.println(Serial1.read());
  }
 
}


But I do not see anything in the serial monitor(9600).

Thanks!!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy