You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using your library on a LCD2004 with PCF8574 I2C connection and I am getting an error during compiling. It seems like its an error in the library and not my code but I am not sure. The processor is an Arduino Nano ESP32 board.
I am using your full demo script with no additional code as a function test and tried to compile it and it gives me the following error:
...Arduino\libraries\LiquidCrystal_NKC\src\LiquidCrystal_NKC.cpp:428:41: note: deduced conflicting types for parameter 'const _Tp' ('unsigned int' and 'int')
len = min(strlen(inputChar), MAX_STRLEN);
^
The text was updated successfully, but these errors were encountered:
You need to edit the file LiquidCrystal_NKC.cpp in the library folder.
In line 416: len = min(strlen(inputChar), MAX_STRLEN);
to len = min((int)strlen(inputChar), MAX_STRLEN);
I am using your library on a LCD2004 with PCF8574 I2C connection and I am getting an error during compiling. It seems like its an error in the library and not my code but I am not sure. The processor is an Arduino Nano ESP32 board.
I am using your full demo script with no additional code as a function test and tried to compile it and it gives me the following error:
...Arduino\libraries\LiquidCrystal_NKC\src\LiquidCrystal_NKC.cpp:428:41: note: deduced conflicting types for parameter 'const _Tp' ('unsigned int' and 'int')
len = min(strlen(inputChar), MAX_STRLEN);
^
The text was updated successfully, but these errors were encountered: