void clear(); //explicitly start clean
This declares a function called clear() which will only be known in the setup() function. It does not call it and you don't have a clear() function in your code.
Pete
void clear(); //explicitly start clean
This declares a function called clear() which will only be known in the setup() function. It does not call it and you don't have a clear() function in your code.
Pete