Replies: 2 comments 17 replies
-
Hello @vonrle, Could you show some code? |
Beta Was this translation helpful? Give feedback.
-
Sure, I just used the example code of the SD Card library: This example shows how to log data from three analog sensors The circuit: created 24 Nov 2010 This example code is in the public domain. */ #include <SPI.h> const int chipSelect = PIN_Pxn; void setup() { Serial3.print("Initializing SD card..."); // see if the card is present and can be initialized: void loop() { // read three sensors and append to the string: // open the file. note that only one file can be open at a time, // if the file is available, write to it: And I get the following error: 'PIN_Pxn' was not declared in this scope |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I tried to connect a Feather SD Card Device with my AVR IoT Cellular Mini Board and have some issues with it. From the documentation I know, that the Feather CS Pin is the Pxn, but I couldn't find the correct way to call that PIN, as I get an error, when I use "PIN_Pxn" in my code, that PIN_Pxn needs to be defined.
I would be very greatful for your help!
Beta Was this translation helpful? Give feedback.
All reactions