Hi,
Is there any different between lcd.print and lcd.write ??
and
any different between serial.print and serial.println ??
hope someone can give me answer,thanks.
Hi,
Is there any different between lcd.print and lcd.write ??
and
any different between serial.print and serial.println ??
hope someone can give me answer,thanks.
Is there any different between lcd.print and lcd.write ??
Yes. No. Maybe. It all depends on what lcd is an instance of. If it is an instance of a class that derives from Print, then print() converts the value to a string. write() does not. The write() method sends binary data.
any different between serial.print and serial.println ??
Of course there is. Try them both for yourself, and see the difference.