-
-
Save triffid/bd72429605b810ca30e54ac8b26624a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################### See Line 14 ################# | |
#include <SD.h> | |
void setup() { | |
Serial.begin(9600); | |
while (!Serial) { | |
; | |
} | |
// ...init sd card... | |
SdFile sdElem; | |
if (!sdElem.open(sdElem, "test.txt", O_RDONLY)) { | |
Serial.println("error..."); | |
} | |
int16_t c; // ############ <----------- change me to 'char' type to no longer trigger bug 105753 | |
while((c = sdElem.read()) >=0) { | |
Serial.print(c); | |
} | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment