This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No member named 'printf' in 'TextLCD_I2C_N'

Hi all, I am in the need to change display type (from HCMS2975 to 16x2 I2C LCD) in a project and I am facing problems with TextLCD library...

Apparently printf is not properly inherited from MbedOS:  No member named 'printf' in 'TextLCD_I2C_N'

I tried to update Mbed-os, but it cranks forever...

Any suggestion? 

BTW, I still have fake errors "Use of undeclared identifier 'strncat'".  

Thank you,

Walter

Parents
  • Hello Walter, sorry, I am not familiar with mbed-OS. But maybe you just need to add the right include files in your code:

    #include <stdio.h>
    #include <string.h>
    

    so that the compiler knows the functions from the standard C runtime library.

Reply
  • Hello Walter, sorry, I am not familiar with mbed-OS. But maybe you just need to add the right include files in your code:

    #include <stdio.h>
    #include <string.h>
    

    so that the compiler knows the functions from the standard C runtime library.

Children