Call function on lcd object in class
问题 Currently i'm making a class for printing custom text to a LCD. I pass the lcd object as paramter in the constructor to the class. Display.h #ifndef Display_h #define Display_h #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "Arduino.h" class Display { public: Display(LiquidCrystal_I2C *outsideLcd); private: LiquidCrystal_I2C *lcd; }; #endif Display.cpp #include "Arduino.h" #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "Display.h" Display::Display(LiquidCrystal_I2C