Adafruit_SPIDevice.h: No such file or directory

Hi -
I am not too familiar with Arduino, but I am trying to use the Adafruit MAX31856 thermocouple module with an ESP32 Devkit 1 and want to run the example max31856_oneshot.ino that comes with the Adafruit_MAX31856.h library. I have tried to follow their tutorial but when I compile it I get this error:
fatal error: Adafruit_SPIDevice.h: No such file or directory #include <Adafruit_SPIDevice.h>

I can't find the library Adafruit_SPIDevice.h at github to install it!
How do I resolve this and simply get the example code to work?

Topic moved. Please don't post in "Uncategorized"; see the sticky topics in Uncategorized - Arduino Forum.


Did you install the Adafruit_SPIDevice library? It might be part of Adafruit's busio library; not behind a PC at the moment so can't check.

when you installed the Adafruit_MAX31856.h library using the Library Manager did you click the INSTALL ALL button in response to the "Would you like to install the missing dependency" message
try removing the Adafruit_MAX31856.h library and installing again

Thank you, you are right it needed the busio library. It's now working :slight_smile:

I didn't see the option to install all, but I may have missed it. Thanks