Changing Baud Rate Doesn't Work

bump.

Edit: I recently purchased a Pololu Dual VNH5019 Motor controller and tested it for the first time using their arduino library downloaded here: GitHub - pololu/dual-vnh5019-motor-shield: Arduino library for the Pololu Dual VNH5019 Motor Driver Shield

I uploaded the "demo" example to my Mega and the serial connection worked with 115200 baud rate! This makes no sense since I tried this earlier today with a barebones program like the following without success:

void setup() {
Serial.begin(115200);
}

void loop() {
Serial.println("Test");
}

I tried it again now and it works. Although no other baud rates work still. For those telling me to deal with it or just use what works, this doesn't answer my question! Why could this possibly happen... All I did was drag-n-drop the library into my arduino folder and a new baud rate works.

It appears all the answers to these questions just "randomly work"..I don't accept this :stuck_out_tongue: