great. Would you mind sharing your final code?

Sure. I stripped it right down to the bare essentials for test purposes as follows:

// LCD module minimum test code by bottomfeeder

#include "LiquidCrystal_I2C_Bela.h"
#include "LiquidCrystal_I2C_Bela.cpp"

LiquidCrystal_I2C lcd(0x27,20,4); // the address of my 20 x 4 board is 0x27

bool setup(BelaContext context, void userData)
{
lcd.init();
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Hello");
return true;
}

void render(BelaContext context, void userData)
{

}

void cleanup(BelaContext context, void userData)
{

}

3 years later

hey there, idk for what reason code isnt working for me.....it is saying

alt text

it looks like you may have (partially) duplicated files and/or content, would you mind posting all the files you have in the project and their contents?

alt text
For the remaining files content...I just downloaded the library files and simply added in my code...even i tried again after deleting the previous project...it is still showing the same error of duplicate definition of functions

you should remove the line

#include <LiquidCrystal_I2C_Bela.cpp>