Here is the error log i get when compiling:
var/folders/7_/8wy8v00x7yq30qwm62s5mjl00000gn/T/arduino_modified_sketch_899300/AnalogBinLogger.ino: In function 'void binaryToCsv()':
AnalogBinLogger:432:3: error: 'StdioStream' was not declared in this scope
StdioStream csvStream;
^~~~~~~~~~~
/var/folders/7_/8wy8v00x7yq30qwm62s5mjl00000gn/T/arduino_modified_sketch_899300/AnalogBinLogger.ino:432:3: note: suggested alternative: 'Stream'
StdioStream csvStream;
^~~~~~~~~~~
Stream
AnalogBinLogger:446:8: error: 'csvStream' was not declared in this scope
if (!csvStream.fopen(csvName, "w")) {
^~~~~~~~~
/var/folders/7_/8wy8v00x7yq30qwm62s5mjl00000gn/T/arduino_modified_sketch_899300/AnalogBinLogger.ino:446:8: note: suggested alternative: 'Stream'
if (!csvStream.fopen(csvName, "w")) {
^~~~~~~~~
Stream
AnalogBinLogger:454:3: error: 'csvStream' was not declared in this scope
csvStream.print(F("Interval,"));
^~~~~~~~~
/var/folders/7_/8wy8v00x7yq30qwm62s5mjl00000gn/T/arduino_modified_sketch_899300/AnalogBinLogger.ino:454:3: note: suggested alternative: 'Stream'
csvStream.print(F("Interval,"));
^~~~~~~~~
Stream
Multiple libraries were found for "SPI.h"
Used: /Users/varshas1/Library/Arduino15/packages/arduino/hardware/avr/1.8.2/libraries/SPI
Multiple libraries were found for "SdFat.h"
Used: /Users/varshas1/Documents/Arduino/libraries/SdFat
exit status 1
'StdioStream' was not declared in this scope
I think this is what you were requesting but if it isn't can you please let me know and i can get the right stuff for you.
I also noticed that it is bringing up something about multiple libraries being found for SdFat.h. I checked the filepath that it used: /Users/varshas1/Library/Arduino15/packages/arduino/hardware/avr/1.8.2/libraries/SPI
and i found only one instance of an SPI folder, so i'm not sure why it is giving me this error. In the end it seems to find the SPI library that does exist and use it. Just in case this is the issue though, i looked it up on google and the general consensus seems to be that there is some kind issue with the IDE