Closed bethanysciences closed 4 years ago
I don't have a nano to test but I believe this is occurring because setBitOrder is deprecated and not implemented in MbedSPI
. I've replaced the function call with a #define and pass that to SPISettings
. Please give it a test, and open this back up if it does not fix the issue. Fix is in the latest release.
Subject of the issue
Working with example code Example1_BasicLightening_SPI get following error on compile:
Your workbench
Arduino Nano BLE: nRF52840 from Nordic Semiconductors, a 32-bit ARM® Cortex™-M4 CPU running at 64 MHz
Works perfectly using SAMD based boards
I think this needs the same updates Adafruit has completed in their Adafruit_usIO library to account for how the nRF52840 handles SPI.
V2 of the Sparkfun board purchased less than 1 month ago
standard HW SPI - CS on D10 and INT on D6