This forum is not working - it hangs when I try and reply, etc. webmastermaster emailed…
So this is a repeat entry but new sketch and problem description.
Mega 2560, latest IDE (Beta). Using #include <SoftwareSerial.h>
I have hard loopbacks (simply wires) on Tx1 to Rx1, Tx2 to Rx2, Tx3 to Rx3 and pins 52 to pin 53.
I am trying to use pins 52 and 53 for serial i/o (PLEASE do not ask why!)
The following sketch does very weird things!
The sketch accepts values of ‘1’, ‘2’, ,‘3’ and ‘l’ (letter l as in loop)
I get very strange results. Best is to try it and see. In short, it seems like entering ‘1’ gets me .available for Serial1, Serial2, Serial3 and same for entering 2 and 3!!! And NO input on pin 52 ever. In short, I have NEVER been able to get any sketch to work with SoftwareSerial on the MEGA…this sketch just demonstrates some way weird things that I have seen. I have been working on this for weeks and at this time, no idea what mistakes I might be making!!!
Again, I apologize for this semi-double posting and because of an apparent forum hiccup, I cannot reply to anything…I get a hung forum condition - no idea why - arduino webmaster (or who ever) has been notified. Please do not reply to this unless you have some meaningful solution or find some incorrect code in my sketch and PLEASE do not ask why I’m using SoftwareSerial.h (unless it simply won’t work and is faulty…)
Serial.ino (3.12 KB)