I’m trying to use the LiquidCrystal library. It has this line:
LiquidCrystal_I2C lcd(0x23, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Set the LCD I2C address
I have multiple files: file1.h, file1.cpp, file2.h, file2.cpp, header.h (general header), main.ino.
Where should I put that line, and where do I need to #include it’s libraries
#include <LiquidCrystal_I2C.h> #include <Wire.h>
if I want to use the functions it provides (lcd.print(), lcd.setCursor() etc.) in 2 ore more .cpp files?
Thank you very much.