Serial 6 Axis Accelerometer Trouble Changing Baud Rate
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
Hi,
I am new to arduino and serial communication. I have an Arduino Uno and a Serial 6-axis Accelerometer. I am using the example DFRobot_WT61PC.ino that is provided with the library package. From my understanding, this is using two serials: `Serial`, which from my understanding, is the connection between the arduino and the computer, and mySerial, the connection between the sensor and arduino. This example does output values I am expecting, however, I want to be able to make the throughput faster.
The documentation says the baud rate is adjustable from 2400bps-921600bps. But by adjusting the mySerial baud rate to a higher value does not output anything. I dugged deep into the header and cpp code and it seems that the sensor.available() function is timing out.
Am I missing something here? Any help would be appreciated.
Thanks in advance.
I am new to arduino and serial communication. I have an Arduino Uno and a Serial 6-axis Accelerometer. I am using the example DFRobot_WT61PC.ino that is provided with the library package. From my understanding, this is using two serials: `Serial`, which from my understanding, is the connection between the arduino and the computer, and mySerial, the connection between the sensor and arduino. This example does output values I am expecting, however, I want to be able to make the throughput faster.
The documentation says the baud rate is adjustable from 2400bps-921600bps. But by adjusting the mySerial baud rate to a higher value does not output anything. I dugged deep into the header and cpp code and it seems that the sensor.available() function is timing out.
Am I missing something here? Any help would be appreciated.
Thanks in advance.