due spi packet

an example of how to decode a framed binary spi transmission with checksum. written for Arduino due.

you can uncomment line 219 if you want to print without the binary.