"When I included SPI.h and SD.h, ""Multiple libraries found"" is displayed, resulting in a compilation error."The development environment is ArduinoIDE.
Error Message Received
Multiple libraries found for "SPI.h" Used: C:\Users\admin\AppData\Local\Arduino15\packages\SPRESENSE\hardware\spresense\1.4.2\libraries\SPI
Multiple libraries found for "SD.h"Used: C:\Program Library SPI version 1.2.0 in the following folders: C:\Users\admin\AppData\Local\Arduino15\packages\SPRESENSE\hardware\spresense\1.4.2\libraries\SPI In the library SD version 1.2.1 of the following folders are in use.
If you are using an SD card on the SPRESENSE board, click
Include SDHCI.h instead of SD.h and use it as follows:
Documentation: SDHCI Library or
There are various examples that use SD cards, so I think they will be helpful.
© 2022 OneMinuteCode. All rights reserved.