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
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.
Hi Andreas, thank you very much for your rely.
All the #includes are already there: it was an old project running without problems in Mbed...
Actually I discovered that creating a new blank project and importing the main and the required libraries, solved the problem...