Atom Lite EspNow issue

  • I started with an ATOM Matrix and used very simple EspNow Communication. Then I adapted this to the smaller ATOM Lite but the easiest things won´t work.

    UI Flow + ATOM Lite + EspNow

    The serial monitor results in:
    Traceback (most recent call last):
    File "", line 13, in <module>
    TypeError: function takes 1 positional arguments but 0 were given
    MicroPython 3a9581b5a-dirty on 2022-12-08; M5Stack with ESP32
    Type "help()" for more information.

    This is the code which works filne with my Matrix and not with the Lite

    from m5stack import *
    from m5ui import *
    from uiflow import *
    import espnow
    import wifiCfg
    addr = None
    data = None
    dataObj = None
    espnow.broadcast(data=str(((str('OnAir-') + str((espnow.get_mac_addr()))))))

    It hang up with the espnow.init()

  • For me, the issue is resolved, but not quite with an eye to the future. I had the UI Flow IDE on the desktop 1.9.5 ( there is unfortunately not newer) and on the Atom Lite I had the 1.11.0. Thereby it came to incompatibilities that the EspNow in the newer variant works quite differently. BADLY.