Welcome! Log In Create A New Profile

Advanced

Serial1.begin equivalent in Marlin

Posted by haplo31 
Serial1.begin equivalent in Marlin
September 26, 2014 04:00AM
Hello,
I have a Rumba board with Marlin on it and I want to link it with an arduino Nano for various sensor measurements.
I've made some tests with an Arduino Mega and I can communicate with Nano without problem, by Serial1 (pin 18,19) communication.
When I try to include my code into Marlin,the compiler says that Serial1 is not declared in this scope.

I think that's because Marlin use hardwareSerial and I must use a derivate of MYSERIAL.begin but I fail to declare a variable MYSERIAL1 and use it with Marlin.
I don't know what I'm doing wrong.

Did you know how I can open Serial1 equivalent with hardwareSerial and communicate by it?

Thanks for your time

Edited 1 time(s). Last edit at 09/27/2014 07:06PM by haplo31.
Sorry, only registered users may post in this forum.

Click here to login