Tried, still doesn't work here is my sketch:
int incomingByte = 0;
void setup(){
Serial1.begin(57600);
Serial.begin(57600);
while (!Serial1) { }
}
void loop()
{
//Serial1.println(100,DEC);
// send data only when you receive data:
while (Serial1.available()) {
Serial.print("Available");
if (Serial1.available() > 0) {
// read the incoming byte:
incomingByte = Serial1.read();
// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, DEC);
}
}
}