Printing to the controller

So, i’ve recently been trying to get some values to print to the controller screen of our V5 robot, this is what i have
but it will just always give me an error, i’m using this
as a reference but it always just says
[clang] Call to non-static member without an object argument
am smol brain please help

you need to create the instance of the controller (you could do that with graphical configuration). Then call the clearScreen() member function on the controllers Screen instance.

controller Controller1( primary );

int main() {

  // etc.

Oh, thank you, i had the controller configured but was calling lcd instead of screen, it’s not erroring anymore!