ok, I think i found some kind of solution..
all I did was to use the serial.begin() function inside the main loop, rather than in the setup, and then an 'if' statement
void loop()
{
if (switch is on)
{
Serial.begin(31250);
}else
{
Serial.begin(57600);
}
my code...
}
seems to work ok. however I don't know how good idea is to use the Serial.begin() in my main loop...
I'm afraid I will have to stick on this 'trick' if nothing else suggested...
thanks,
warp