Hello guys, I am trying to compile the code "CardInfo" of the example on my HTCC-AB02S but I can’t do it. I have tried with other examples and I am getting the same so if You can help me I will much appreciate it. I am getting the following errors:
In file included from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2Card.h:26:0,
from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/SdFat.h:29,
from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/SD.h:20,
from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\examples\CardInfo\CardInfo.ino:24:
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2PinMap.h:27:26: error: ‘SS’ was not declared in this scope
uint8_t const SS_PIN = SS;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2PinMap.h:28:28: error: ‘MOSI’ was not declared in this scope
uint8_t const MOSI_PIN = MOSI;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2PinMap.h:29:28: error: ‘MISO’ was not declared in this scope
uint8_t const MISO_PIN = MISO;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2PinMap.h:30:27: error: ‘SCK’ was not declared in this scope
uint8_t const SCK_PIN = SCK;
^
In file included from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/SdFat.h:29:0,
from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/SD.h:20,
from C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\examples\CardInfo\CardInfo.ino:24:
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2Card.h:70:41: error: ‘SS’ was not declared in this scope
uint8_t const SD_CHIP_SELECT_PIN = SS;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2Card.h:79:35: error: ‘MOSI’ was not declared in this scope
uint8_t const SPI_MOSI_PIN = MOSI;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2Card.h:81:35: error: ‘MISO’ was not declared in this scope
uint8_t const SPI_MISO_PIN = MISO;
^
C:\Users\Alberto\Desktop\Arduino\arduino-1.8.13\libraries\SD\src/utility/Sd2Card.h:83:34: error: ‘SCK’ was not declared in this scope
uint8_t const SPI_SCK_PIN = SCK;
^
exit status 1
Error compilando para la tarjeta CubeCell-GPS(HTCC-AB02S).