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:
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!!