Not trying to convert anything...looking to declare a char as a "," then use this to write with and compare with...the code can be seen below. Whenever I try to compile, however, I get an error saying "invalid conversion from 'cont char*' to 'char'
Probably something really simple but I cant figure it out!
char sdRead;
char constructReading;
char stringEnd = ",";
while(speedFile.available())
{
sdRead = speedFile.read();
if(sdRead == stringEnd)
{
Serial.println(constructReading);
constructReading = "");
entryNo++;
}
else
{
constructReading = constructReading + sdRead;
}