Quantcast
Channel: Sensors - Arduino Forum
Viewing all articles
Browse latest Browse all 1168

Error using ADXL library: error: 'class arduino::ArduinoSPI' has no member named 'setDataMode'

$
0
0

Trying to upload code using SparkFun_ADXL345.h library. After installing, it comes up with the error detailed in the title.
(error: 'class arduino::ArduinoSPI' has no member named 'setDataMode'
SPI.setDataMode(SPI_MODE3);).
This is using the Uno R4 Minima.
Any clue how to resolve it?

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 1168

Latest Images

Trending Articles



Latest Images