MicroPython: handling multiple screens on Core2 with M5Screen()

  • According to this documentation the object returned by M5Screen() has the methods get_new_screen() and load_screen().
    These seem to allow switching between multiple screens but I cannot work out how is this supposed to work. Can anyone point me to some example code which shows the correct usage of these functions ?

    Thanks a lot.