-
Notifications
You must be signed in to change notification settings - Fork 0
Description
main: In function 'void writeToSD(double)':
main:343: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char filepath, uint8_t mode = FILE_READ) {
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: no known conversion for argument 1 from 'const __FlashStringHelper' to 'const char*'
main: In function 'void writeToSD(double, int)':
main:359: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char filepath, uint8_t mode = FILE_READ) {
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: no known conversion for argument 1 from 'const __FlashStringHelper' to 'const char*'
main: In function 'void writeToSD(String)':
main:375: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char filepath, uint8_t mode = FILE_READ) {
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: no known conversion for argument 1 from 'const __FlashStringHelper' to 'const char*'
main: In function 'void writeToSDln(double)':
main:395: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char filepath, uint8_t mode = FILE_READ) {
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: no known conversion for argument 1 from 'const __FlashStringHelper' to 'const char*'
main: In function 'void writeToSDln(double, int)':
main:411: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char filepath, uint8_t mode = FILE_READ) {
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: no known conversion for argument 1 from 'const __FlashStringHelper' to 'const char*'
main: In function 'void writeToSDln(String)':
main:427: error: no matching function for call to 'SDClass::open(const __FlashStringHelper*, int)'
dFile = SD.open(F("COPE01.txt"), FILE_WRITE);
^
In file included from C:\Users\B0lero\Desktop\main\main.ino:74:0:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\src/SD.h:181:7: note: candidate: virtual File SDClass::open(const char*, uint8_t)
File open(const char *filepath, uint8_t mode = FILE_READ) {
^