How do you print string variables on a grove RGB backlight LCD.

So I decided to make a project off of Grove about a measuring meter. And I didn't have the specific ultrasonic ranger that they had said in seeed channel. It had a custom built one. I needed to make it out of an HC-SR04. How can I present a value that is written by the output of a regular ranger code to my Grove LCD? The library for the LCD is attached. The grove LCD is I2C and uses it off the SDA and SCL pins

Grove_LCD_RGB_Backlight-master.zip (24.7 KB)

First off. It is always wise to install via the IDE Library Manager.

Then try every example.
See which example seems useful to your project.

Adapt the example code to suit.

You just get the value that is written by the output of a regular ranger code

Then use lcd.setCursor(x, y) and lcd.print(value)

David.