Hello,
I am trying to get my code to work at a baud rate of 38400 so that I can use it with PLX-DAQ for real-time importing into excel. Right now my code only produces proper values for 9600 and garbage for any other rate I try to set. I have an Arduino Uno. Code is included below
int x = 0;
void setup()
{
Serial.begin(38400); // set up to print out text to monitor
}
void loop()
{
x = analogRead(3); // read analog input pin 3
Serial.println(x); // print bit value to serial monitor
delay(100); //add a delay
}