SPI COMMUNICATION ON ARDUINO PLEASE HELP

There is a SPI communication example like an algorithm. I share with you.