Hi guys! When I try to compile my sketch this error message comes up;
In file included from C:\Users\Maisem\Documents\Arduino\libraries\SdFat/SdStream.h:27,
from C:\Users\Maisem\Documents\Arduino\libraries\SdFat/SdFat.h:27,
from SOUNDWORKING.ino:58:
C:\Users\Maisem\Documents\Arduino\libraries\SdFat/iostream.h: In function 'ostream& endl(ostream&)':
C:\Users\Maisem\Documents\Arduino\libraries\SdFat/iostream.h:40: error: 'ostream& endl(ostream&)' redeclared as different kind of symbol
C:\Users\Maisem\Documents\Arduino\libraries\glcd/include/Streaming.h:80: error: previous declaration of '_EndLineCode endl'
"After a little research I found where I remarked the code in the streaming.h
//enum _EndLineCode { endl };\remarked these guys for troubleshooting
//inline Print &operator <<(Print &obj, _EndLineCode arg) \remarked these guys for troubleshooting
//{ obj.println(); return obj; } \remarked these guys for troubleshooting
I was using this on arduino mega2560. I also found the mega2560 uses more current than spec estimates.
I ended up driving it with a 12vt supply rather then the usb 5 vt port.
having a 12 input thermocouple card I built and glcd and 10 port pressure input card I built.
When adding total power consumption calculated over 1 amp."