diff --git a/.arduino-ci.yml b/.arduino-ci.yml index 570dd921..0cf54f50 100644 --- a/.arduino-ci.yml +++ b/.arduino-ci.yml @@ -14,9 +14,15 @@ platforms: flags: unittest: + exclude_dirs: + - "/Users/jfoster/Documents/Arduino/libraries/LiquidCrystal/test/" platforms: - mega2560 - + libraries: + - "LiquidCrystal" + compile: platforms: - mega2560 + libraries: + - "LiquidCrystal" \ No newline at end of file diff --git a/src/Devices/LiquidCrystal_TC.cpp b/src/Devices/LiquidCrystal_TC.cpp new file mode 100644 index 00000000..7e951e94 --- /dev/null +++ b/src/Devices/LiquidCrystal_TC.cpp @@ -0,0 +1,2 @@ +#include "LiquidCrystal_TC.h" + diff --git a/src/Devices/LiquidCrystal_TC.h b/src/Devices/LiquidCrystal_TC.h new file mode 100644 index 00000000..5c863454 --- /dev/null +++ b/src/Devices/LiquidCrystal_TC.h @@ -0,0 +1,19 @@ +#include +#ifdef ARDUINO_CI +#include +#else +#include +#endif + +class LiquidCrystal_TC { +private: + const int RS = 24, EN = 22, D4 = 26, D5 = 28, D6 = 30, D7 = 32; + LiquidCrystal* pLCD; // (RS, EN, D4, D5, D6, D7); + +public: + LiquidCrystal_TC(); + ~LiquidCrystal_TC(); + void clear(); + void setCursor(); + void print(); +};