Can't import m5stack.rtc on firmware 1.6.6



  • Hi m5stack,

    On the newest version, 1.6.6, it's no longer possible to from m5stack import rtc

    >>> from m5stack import rtc
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: can't import name rtc
    

    Has the real time clock module been renamed?



  • Looks like rtc is included in one of the other files

    from m5stack import *
    from m5ui import *
    from uiflow import *
    
    setScreenColor(0x111111)
    
    rtc.setTime(0, 0, 0, 0, 0, 0)