I'm trying to get the SoftwareSerial class to work with my LCD. I can get the display to work decent, but it's not very stable. All I have hooked up is grnd, 5v, and Rx (i.e., Tx is disconnected because I don't see a use for it atm). Below is my code:
Servo myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
int pos = 90; // variable to store the servo position
SoftwareSerial LCD(NOT_A_PIN, 4); //LCD display
myservo.attach(A1); // attaches the servo on pin 9 to the servo object
So basically, this clears the screen, sets the cursor to about center on the 2nd line (cr, tab, tab), and prints Progress!. This works decently, but it seems like every 5 or so loops through this, the backlight flashes and the startup screen displays before going back to "Progress!" with no backlight. Any ideas why?