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 "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()
-
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.
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