I have the following code that worked with the Serial.write to my serial display:
This is a portion of the code
Serial.begin(9600);// strcpy_P(buffer, (char*)pgm_read_word(&(string_table[instrument]))); // Necessary casts and dereferencing, just copy. char buffer; // make sure this is large enough for the largest string it must hold Serial.write(buffer); //works on standard serial port //Newsoft serial code #include <NewSoftSerial.h> Display.begin(9600); NewSoftSerial Display(11,10); //Soft TX on 10, Idon't use RX in this code char buffer; // make sure this is large enough for the largest string it must hold Display.write(buffer); //doesn't work //Display.print("test"); works
What do I need to do to get NewSoftSerial to work?