9 years, 3 months ago.

TextLCD printf() function

Is the printf() function in TextLCD the same printf() function in the C++ standard library?

Question relating to:

TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface HD44780, TextLCD

1 Answer

9 years, 3 months ago.

Yes it is identical. If you check the .h file you see it is only there for documentation purposes, it actually gets in the code due to inheritance.

Accepted Answer

Thank you sir for your prompt feedback!

Best regards, Joe

posted by Joe Sears 24 Jan 2015

hi erik hope u remember me but when i checked the code there is no printf function defined is it inherited by #include "mbed.h" with #include " TextLcd.h> let me know good graphical display for my sine wave display.

posted by Ashok K 24 Jan 2015

It is inherited via Stream class. For graphics display see the components page.

posted by Erik - 24 Jan 2015