How to #include extra lib (LiquidCrystal_I2C, LiquidCrystal_I2C.h)


in my Arduino libraries folder (which i had already installed some months ago (Arduino IDE 1.8.9)) I have an extra lib (LiquidCrystal_I2C, LiquidCrystal_I2C.h) for the i2c version of the LCD1602, and it works fine with this device used by my Arduino Sketches. I now would like to use this lib also via makeblock 5.

  • where to copy this lib additionally and how to #include this lib to access it also via myblock5 programs?
  • how will I know which block-functions/commands of this lib I’ll have to use in makeblock 5?
  • is there a different way (lib, method) to use the LCD1602/2004_i2c device by makeblock 5?


Hi, the LiquidCrystal has integrated cloud-Compiled server in mBlock5, you can use it directly.
If you want to add External Class Libraries, you can add Extend Designer, and change #include <LiquidCrystal.h>into #include “LiquidCrystal.h”


Ways to add the External Class Libraries


I do not want to patch the Arduino Sketch code, I want to use the blocks directly, to directly access the LCD1602_i2c or the LCD2004_i2c by makeblock-blocks.
If I wanted to patch the Arduino C++ code then I wouldn’t need the graphic makeblock-blocks at all.
BTW, to clearify:
my question is not about the standard LCD1602 with about a dozen single-wired pins, but about the i2c version driven by an internal PCF8574 chip, just having 4 pins (SDA,SCL,Vcc,GND) !²C_LCD1602


That part I actually do not understand - did you ever manage to utilize the i2c-devices i2c_LCD1602 and i2c_LCD2004 via the transcode thing?
as stated, I just want to use the i2c devices from using blocks, out of the box (I am no programmer, just a makeblock user!)


so which is the detailed description to use the i2c displays
i2c_LCD1602 and i2c_LCD2004
directly by makeblock 5, by which built-in programming blocks?