Why does my Arduino 2560 report text that looks like this:
!11<]=I1)!11<]=I1)!11<]=I1!11<]=I1)!11<]=I1©ä é ©ä
Every time I execute "spi_dev_test" from my raspberry pi?
I have been trying to follow the instructions on this website :
But these instructions are for an Arduino Uno whereas I am using an Arduino 2560.
I looked up documentation for the 2560 here:
and it has indicated the SPI pins are SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS).
I wired them like so:
RaspberryPi-MOSI ======>> 51(MOSI) on 2560
RaspberryPi-MISO ======>> 50(MISO) on 2560
RaspberryPi-CSO ======>> 52(SCK) on 2560
RaspberryPi-GND ======>> GND(just next to 53 on 2560).
According to the website I'm supposed to see "HELLO WORLD" output to the Arudino's serial monitor console.
The serial monitor baud rate is 115200. I have Tools >> Programmer set to "Arduino as ISP" but I've tried all other options with no success.
Would appreciate all / any advise.