A trouble of Pymesh
-
I am using 2 FiPy with PyScan and LoPy4 with expansion board.
I did update pybytes firmware using update tool.
In the pybytes of web, I made project and group mesh.
And, I did deploy pymesh.The devices show,
Pycom MicroPython 1.20.2.rc11
Pybytes Version: 1.5.2
Pymesh Version: 1.0.1When I ran the example code, next error occurred.
AttrubuteError: 'Loramesh' object has no attribute 'mesh'
How can I solve this?
-
Hi,
You are using Pygate firmware I believe, as we have no rc11 for the Pybytes firmware version. In the Pygate firmware, LoRa is deactivated as there is a conflict in pin usage. Please use the r0 Pybytes firmware version :) -
This post is deleted! -
@Gijs
Hello,
I did update r0 but after pymesh deploy, the firmware changed to 1.20.2rc11.
It is strange.
I checked several times. -
Hi,
Sorry for the confusion, you are indeed correct it updates to Pybytes rc11 (not exactly sure why though). It means you should have the Pymesh functionality on the device. Which example code are you then refering to? For me, this works fine:import time if pybytes is not None: if pybytes.__pymesh and pybytes.__pymesh.__pymesh: pymesh = pybytes.__pymesh.__pymesh while True: pkt = "Hello, from " + str(pymesh.mac()) pybytes.send_signal(1, pkt) time.sleep(20)From this page: https://docs.pycom.io/pybytes/pymeshintegration/example/
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