🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Atom Lite EspNow issue

    Scheduled Pinned Locked Moved Cores
    2 Posts 1 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mchott
      last edited by

      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 "main.py", 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
      
      wifiCfg.wlan_ap.active(True)
      wifiCfg.wlan_sta.active(True)
      espnow.init()
      
      espnow.broadcast(data=str(((str('OnAir-') + str((espnow.get_mac_addr()))))))
      

      It hang up with the espnow.init()

      1 Reply Last reply Reply Quote 0
      • M Offline
        mchott
        last edited by

        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.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post