SPI comunication between two arduinos UNO

Hi, my friend, I'd like your help. I need to make SPI communication between two Arduinos. I want the master arduino to send an array to the arduino slave. I have two arduinos UNO. Could you tell me how this code would look in the C programming language?

You need to post the code that you have tried and tell us what it actually does. You will need to set one Uno as master and the other as slave.

If you want someone to write code for you please ask in the Gigs and Collaborations section of the Forum and be prepared to pay.



check out Nick Gammon SPI tutorial:

thank you so much man, I will try this now