Skyward boardcore
|
Structure that contains all the parameters for the request to be sent. More...
#include <MBLoadCellData.h>
Public Member Functions | |
void | setChecksum () |
In base of the address and the request parameter calculates the checksum. | |
std::string | to_string () |
Transforms the request into a string to be sent over serial. | |
Public Attributes | |
char | beginStr [2] = "$" |
char | addr [3] = "01" |
char | value [7] = "" |
char | req [6] |
char | ck [3] |
char | CR [2] = "\r" |
Structure that contains all the parameters for the request to be sent.
Definition at line 201 of file MBLoadCellData.h.
|
inline |
In base of the address and the request parameter calculates the checksum.
Definition at line 214 of file MBLoadCellData.h.
|
inline |
Transforms the request into a string to be sent over serial.
Definition at line 233 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::addr[3] = "01" |
Definition at line 204 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::beginStr[2] = "$" |
Definition at line 203 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::ck[3] |
Definition at line 207 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::CR[2] = "\r" |
Definition at line 208 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::req[6] |
Definition at line 206 of file MBLoadCellData.h.
char Boardcore::DataAsciiRequest::value[7] = "" |
Definition at line 205 of file MBLoadCellData.h.