Using Harware and software serail in one sketch

I'm trying to use the hardware port for debugging and eventually serial dumping of data. I am using the software port to send data to serial display.

When I run program, only display serial is being tranmitted. If i disable the softserial, data is dumped. I obviously do not have the hardware port configured correctly

relevent code:

#include <SoftwareSerial.h>
.
.
.
.
Genie genie;
// enable s/w serial
SoftwareSerial DisplaySerial(10,11);
.
.
.void setup()
{
// put your setup code here, to run once
// set serial output
Serial.begin(9600);
// enable software serial for display
DisplaySerial.begin(9600);
// 4D stuff for display

genie.Begin(DisplaySerial);
.
.
Void Loop
{
.
Serial.println(); //these serial commands don't seem to do anything....
Serial.print(" mrPSI ");
Serial.println(mrPSI);
.
.
.
genie.WriteObject(GENIE_OBJ_LED_DIGITS, 0, mrPSI); //these write to display OK.....
.
genie.WriteObject(GENIE_OBJ_LED_DIGITS, 1, eqPSI);
.
.
.
}

what am I missing??

Please modify your post and use the code button </> so your code looks like this and is easy to copy to a text editor. See How to use the Forum

Also, please post a complete program.

What is SoftwareSerial connected to?

Is HardwareSerial connected to the PC via the USB connection?

...R

As I stated in original post, I'm trying to use the Software serial to talk to Display (LCD). I'm wanting to use the Hardware as standard USB. I can get everything to work if I only use hardware port, but then it's not available for debugging (and eventually dumping data to outside world). I know that I'm probably not setting things up correctly.....

It's frustraating that all the Help functoins for the IDE are online. The PC I'm programming with is not "hooked up". Hooking it to the 'net is not an option (corp policy)

below is a code snippet showing the set up and serial commands.

#include <SoftwareSerial.h>
.
.
.
.
Genie genie;
  // enable s/w serial
SoftwareSerial DisplaySerial(10,11);
.
.
.void setup()
{
  //  put your setup code here, to run once
  //  set serial output
Serial.begin(9600);
  // enable software serial for display
DisplaySerial.begin(9600);
  //  4D stuff for display
  
  genie.Begin(DisplaySerial);
.
.
Void Loop
{
.
Serial.println();                       //these serial commands don't seem to do anything....
Serial.print(" mrPSI ");
Serial.println(mrPSI);  
.
.
.
 genie.WriteObject(GENIE_OBJ_LED_DIGITS, 0, mrPSI);   //these write to display OK.....
.
 genie.WriteObject(GENIE_OBJ_LED_DIGITS, 1, eqPSI);
.
.
.
}

He asked for you to post the complete code. Sometimes the issue is not where you would think it would be. You are wasting everyone's time.

Sorry, I guess I misunderstood reason for forum, will not bother you guys again!

byndhlptom:
Sorry, I guess I misunderstood reason for forum, will not bother you guys again!

Don't go off in a huff.
Without more details we cannot provide help. Suppose I told you that I had a program that "did not work" and posted a few lines of code from it, could you help me ?

UKHeliBob:
Don't go off in a huff.
Without more details we cannot provide help. Suppose I told you that I had a program that "did not work" and posted a few lines of code from it, could you help me ?

UKHeliBob:
Don't go off in a huff.
Without more details we cannot provide help. Suppose I told you that I had a program that "did not work" and posted a few lines of code from it, could you help me ?

Yep, it is the OP fault, again.
Let's see how long this post will last.

So good, you quote it twice.

When are you going to get the hang of tags, Vaclav?

@OP:

Void Loop
{

Your code clearly doesn't compile.

Vaclav:
Yep, it is the OP fault, again.
Let's see how long this post will last.

If you think that I have been unfair why don't you tell the OP what is wrong and how to solve it using only the information given ?

Vaclav:
Yep, it is the OP fault, again.
Let's see how long this post will last.

I don't understand why its anyone else's fault? Unless you were just being sarcastic.