diff --git a/examples/showBMP_not_Uno/showBMP_not_Uno.ino b/examples/showBMP_not_Uno/showBMP_not_Uno.ino index 3cbe5c2..8fa071c 100644 --- a/examples/showBMP_not_Uno/showBMP_not_Uno.ino +++ b/examples/showBMP_not_Uno/showBMP_not_Uno.ino @@ -21,6 +21,10 @@ #define USE_SDFAT #include // Use the SdFat library +#if SPI_DRIVER_SELECT != 2 +#error edit SdFatConfig.h . READ THE SKETCH INSTRUCTIONS +#endif + SoftSpiDriver<12, 11, 13> softSpi; //Bit-Bang on the Shield pins SDFat.h v2 SdFat SD; #define SD_CS SdSpiConfig(10, DEDICATED_SPI, SD_SCK_MHZ(0), &softSpi)