SPI Legacy - Send String and Byte Arrays
Posted: Sun Apr 08, 2012 12:46 pm
Hi guys,
I have in the past sent a series of bytes using the char send function in the legacy SPI component, I'm now on a new project and looking to tidy the whole process up.
I though I could use the send string function to send a byte array. However the send string function does seem to want an array but the actual 'text' string.
Is there a function to convert a byte array to a text string?
As an side query, The current SPI legacy can often be made to work but has anyone heard of plans in the future for a more general purpose SPI component?
Cheers,
John
I have in the past sent a series of bytes using the char send function in the legacy SPI component, I'm now on a new project and looking to tidy the whole process up.
I though I could use the send string function to send a byte array. However the send string function does seem to want an array but the actual 'text' string.
Is there a function to convert a byte array to a text string?
As an side query, The current SPI legacy can often be made to work but has anyone heard of plans in the future for a more general purpose SPI component?
Cheers,
John