Hi
Could anyone please tell me the difference between Debug.print() and Serial.print() and when I should use one instead of the other ?
Thank you
Hi
Could anyone please tell me the difference between Debug.print() and Serial.print() and when I should use one instead of the other ?
Thank you
Serial.print : Arduino: Print to the Serial Monitor.
Debug.print : I have only seen it in VBA. Maybe others have seen it in other languages in Visual Studio or other IDEs.
Jacques
Debug.print() is not one of the Arduino core library functions. If you are able to use it you must have some additional code that provides that function. That could be code in your sketch or a library you included. Unless you give us more information about this Debug.print() there's no way we can give a better answer to your question.