It looks easy....
Give number of byte and the name of the string..
But what is this" BYTE Ch "
GetString
Attempts to read a string of bytes from the SPI bus.
Parameters
BYTE NumBytes
BYTE Ch
Return value
STRING
Moderator: Benj
GetString
Attempts to read a string of bytes from the SPI bus.
Parameters
BYTE NumBytes
BYTE Ch
Return value
STRING
If I choose a string then my data from reading spi are corrupted, maybe there are some 0 (0x00).PIC32BIT_CAL_String.c:910:13: note: expected 'MX_STRING' but argument is of type 'volatile MX_CHAR *'
static void FCI_SCOPY(MX_STRING sSrc, MX_UINT16 iSrc_len, MX_STRING sDst, MX_UINT16 iDst_len)