Now it works and returns reasonable values. ![]()
I was using the ICSP interface and I changed to the SPI interface on the Due. Apart from that I added the command SPI.setBitOrder(CS, LSBFIRST) to the code.
Now it works and returns reasonable values. ![]()
I was using the ICSP interface and I changed to the SPI interface on the Due. Apart from that I added the command SPI.setBitOrder(CS, LSBFIRST) to the code.