Changing the baud rate with a 4D Systems Display

I am trying to change the baud rate between an ATMega 328 micro and the display, but every variation on the syntax just produces a blank display when the code is run.

I am using the Goldelox Arduino Serial library with a custom device incorporating the Atmel micro.

I can’t use the 4D Systems Workshop facility because the display is now fixed into the device for which it was intended so I can only access the graphics processor using serial commands through the ATMega 328.

The “setbaudWait” command is the problem area (i think)…

I have tried to get an answer from the 4D Systems forum but have drawn zero responses.

The code I am trying to get working is as below, and is part of the void setup functions. The default 9600 baud is working fine but the added lines to change the baud rate just don’t work. Any help greatly appreciated.

// Set the data rate to the OLED and initialise
  digitalWrite(OUTPUT_OLED_RST,0);
  delay(100);
  digitalWrite(OUTPUT_OLED_RST,1);
  delay(100);
  DisplaySerial.begin(9600);
  Display.SSTimeout(0);
  DisplaySerial.flush();
  DisplaySerial.end();
  Display.setbaudWait(BAUD_115200);
  delay(2000);
  DisplaySerial.begin(115200);
  delay(5000);