Page 1 of 1

How to get the data sending out through the serial?

Posted: Thu Jun 25, 2015 2:34 pm
by ilikearduino
Hello,

I am learning to connect the multiwii with my own remote controller. Currently, I can use the debug mode of visual micro to set the breakpoint in the code below to see what the characters have been received from the serial port.

Code: Select all

c = SerialRead(CURRENTPORT);     //in Serial.ino


Is there any way to check the data sending out through the serial?

Thanks

Re: How to get the data sending out through the serial?

Posted: Thu Jun 25, 2015 5:05 pm
by QuadBow
ilikearduino wrote:Is there any way to check the data sending out through the serial?
Of course, just use the menu entry "tool" "serial Monitor" and select the right baud rate. However, multiwii is sending binary data via the serial, not ascii data. Thus, I am afraid you won't recognise much...

Re: How to get the data sending out through the serial?

Posted: Thu Jun 25, 2015 8:02 pm
by PatrikE

Re: How to get the data sending out through the serial?

Posted: Sun Jul 12, 2015 8:45 am
by simondlevy
https://github.com/simondlevy/MSPPG

This program will generate C++ code for parsing MSP bytes on an Arduino. I will post an Arduino example / instructions within the next few days.

Re: How to get the data sending out through the serial?

Posted: Thu Jul 16, 2015 2:33 am
by simondlevy