juchong / ADIS16209-Arduino-Demo

Example C++ library and Arduino project for the ADIS16209 Digital Inclinometer
GNU General Public License v2.0
2 stars 3 forks source link

MISO and MOSI Swapped in Pinout #1

Open gmassone opened 7 years ago

gmassone commented 7 years ago

Thank you for putting this code together, it's very helpful! The only issue I noticed is that MISO and MOSI are swapped in the .ino file comments. According to the Arduino SPI reference, pin 11 is MOSI, pin 12 is MISO, and pin 13 is SCK.

Thanks again!

w3ichen commented 8 months ago

Thanks! Had the same issue, swapping the MISO and MOSI worked for me! Otherwise, code was giving invalid values