const int NUMBER_OF_FIELDS = 3; // how many comma seperated fields we expect
int values[NUMBER_OF_FIELDS]; // array holding values for all the fields
Serial.begin(9600); // Initialize serial port to send and receive at 9600 baud
int fieldIndex = 0; // the current field being received
while(fieldIndex < NUMBER_OF_FIELDS)
values[fieldIndex++] = finder.getValue();
Serial.println("All fields received:");
for(fieldIndex=0; fieldIndex < NUMBER_OF_FIELDS; fieldIndex++)
I have imported the TextFinder libary to the Arduino but there is these errors i dont know how to solve:
The error says TextFinder does not name a type.
in function void loop()
finder was not declared in this scope.
Standard questions when a library does not work
Where exactly did you put the library files ?
What is the name of the library folder ?
Did you stop and restart the IDE after installing the library ?