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);
.
.
.
}
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);
.
.
.
}
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.