Page 1 of 1

LynxMotion Return Messages

PostPosted: Fri Sep 10, 2010 10:49 pm
by admin
This example shows how to read the status messages returned from the LynxMotion SSC-32 servo board.

1st Make a request by sending the correct request code to the board: Eg.
VER <CR>- returns the firmware version of the board.
VA <CR>- returns the analogue voltage on input pin A
VB <CR> - returns the analogue voltage on input pin B
VC <CR> - returns the analogue voltage on input pin C
VD <CR>- returns the analogue voltage on input pin D
etc.
2nd Capture the returned messages in a buffer

Since the LynxMotion board has no sting terminator on returned messages, each character is received separately and needs to be buffered in order to be reconstructed!