I'm working with a DUE. The call Serial.readStringUntil() doesn't work.
This is the error message I get when I compile: no matching function for call to 'UARTClass::readStringUntil()'
Is it possibly a library issue? The only library I'm loading: #include <Arduino.h>
Any assistance would be appreciated!
Here is the original code:
void loop()
{
String LazCommand;
if(Serial.available())
{
LazCommand = Serial.readStringUntil();
Serial.print("Command received \n" && LazCommand);
}
interrupts();
delay(1000);
noInterrupts();
}
terminator: the character to search for
right? If you saw that part, and it didn't make sense to you, then maybe that is something you can form a question around. I'll volunteer this much: it's not a library issue and it has nothing to do with the Due. – timemage Jan 5 at 5:06