user24245: The problem: Message prints only to the Arduino IDE's Tools > Serial Monitor, not coming out of TX pin 11. 
Question, please how to get Arduino Uno or Mega to send data out of pin 11?
#include <SoftwareSerial.h>
SoftwareSerial mySerial(12, 13); // RX, TX pins on Arduino
void setup() {
  Serial.begin(9600);
}
void loop() {
  Serial.print("This is a test\n\n");
  delay(1000);
}


user4143: Of course it's only coming out on the serial monitor - you are printing it to the hardware UART which comes out on the serial monitor.
You have created a SoftwareSerial object which you are then completely ignoring and then using the HardwareSerial UART object instead, which is on pins 0/1.
If you want to use a SoftwareSerial object you should actually use the SoftwareSerial object.
Replace all the references to Serial with mySerial instead.

24245: <p>The problem: Message prints only to the Arduino IDE's <strong>Tools > Serial Monitor</strong>, not coming out of TX pin 11. 
Question, please how to get Arduino Uno or Mega to send data out of pin 11?</p>

<pre><code>#include &lt;SoftwareSerial.h&gt;
SoftwareSerial mySerial(12, 13); // RX, TX pins on Arduino
void setup() {
  Serial.begin(9600);
}
void loop() {
  Serial.print("This is a test\n\n");
  delay(1000);
}
</code></pre>
 4143: <p>Of course it's only coming out on the serial monitor - you are printing it to the hardware UART which comes out on the serial monitor.</p>

<p>You have created a SoftwareSerial object which you are then completely ignoring and then using the HardwareSerial UART object instead, which is on pins 0/1.</p>

<p>If you want to use a SoftwareSerial object you should actually <em>use</em> the SoftwareSerial object.</p>

<p>Replace all the references to <code>Serial</code> with <code>mySerial</code> instead.</p>
