I have a Raspberry Pi Zero and Arduino Uno setup for SPI communication with me. I now need to write programs to send some data, say the numbers 1 - 10 via the serial ports of the Arduino and then receive the same data through the Pi and display it (say on the console).
Could anyone help me with the exact workflow to perform the above 'test'?