Can't compile I2C example #62
-
IDE 1.8.10 |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
Because this is the I2C example you need to switch the configuration to I2C. In |
Beta Was this translation helpful? Give feedback.
-
Not working:
Error:
|
Beta Was this translation helpful? Give feedback.
-
@antwal no, it`s working correctly with that editions. |
Beta Was this translation helpful? Give feedback.
-
Have you downloaded the LiquidCrystal_I2C library. |
Beta Was this translation helpful? Give feedback.
-
yes use same lib but get this error always |
Beta Was this translation helpful? Give feedback.
-
The error states that there is an undefined reference to a function from this library. Have you tried running an example from the I2C library? Maybe it's not installed correctly. |
Beta Was this translation helpful? Give feedback.
-
not working on platformio, but working in arduino ide |
Beta Was this translation helpful? Give feedback.
-
Hello /*!
* @name Arduino's parallel "LiquidCrystal" library
* @{
*/
//#define LIQUIDMENU_LIBRARY LiquidCrystal_LIBRARY
//#include <LiquidCrystal.h>
//#define DisplayClass LiquidCrystal
//!@}
/*!
* @name I2C library
* @see https://github.com/johnrickman/LiquidCrystal_I2C
* @{
*/
#define LIQUIDMENU_LIBRARY LiquidCrystal_I2C_LIBRARY
#include <LiquidCrystal_I2C.h>
#define DisplayClass LiquidCrystal_I2C
//!@} but i still get these error messages :
|
Beta Was this translation helpful? Give feedback.
-
Hello @Fischer1996. What IDE are you using? Have you placed the library in the correct location? Can you post more of the output log, if relevant? |
Beta Was this translation helpful? Give feedback.
Because this is the I2C example you need to switch the configuration to I2C. In
LiquidMenu_config.h
comment lines 33-35 and uncomment lines 43-45.