Example of defining and switching screens


I am new to lvgl and looking to create an app on a 240x240 display where there are 2+ screens and I’m looking for an example to show how to define the two screens and switch between them. I think using screens is the right way to go but the examples show widgets and I don’t see one with screens.

What MCU/Processor/Board and compiler are you using?

nRF52, ST7789, Arduino

What do you want to achieve?

I just need an example to get started.

What have you tried so far?

I have built a label and displayed it.