Go Down

Topic: Due + Serial (Read 438 times) previous topic - next topic

90132028

Sep 11, 2015, 10:46 pm Last Edit: Sep 12, 2015, 06:46 am by Coding Badly
Hi i'm connecting arduino due to labview

how can i active UBRR in arduino

Help me         arduino DUE
When I use the serial port to send adc data some time error happened by changing the delay the number of errors change

How 250 microseconds delay  without error




void setup()
{
  j=25         ;
 
  Serial.begin(250000,SERIAL_8O1);
}
void loop()
{

 
analogReadResolution(12);


Serial.println(analogRead(0));

delayMicroseconds(25);

}

nickgammon

Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up