Trouble reading output from SPI EEPROM Arduino example

Dear MATLAB,
I have been trying to follow the tutorial for "Write and Read Data from an SPI Device on an Arduino Board" from https://www.mathworks.com/help/supportpkg/arduinoio/ref/writeread.html. Unfortunately, while I should be receiving an output of
out = 1×5
0 0 0 250 155
I have been getting an output of
out =
0 0 0 0 0
If anyone can give me some pointers on why this might be, I would truly appreciate it. Thank you!

Answers (0)

Categories

Asked:

on 9 Nov 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!