Pymesh and RGB LED
-
Hello!
Is it possible to disable the use of the RGB LED by pymesh and reserve it for other purposes? -
hi @PG,
For now, the solution is to comment-out this line: https://github.com/pycom/pycom-libraries/blob/1df042c6faf032d40c48a647cb6d158d94304d23/pymesh/pymesh_frozen/lib/mesh_internal.py#L265
Basically, the method led_state controls the LED.
So, you should take the file mesh_internal.py modify it (comment out that line) and upload it on the device. This module/file will be used, as it has higher priority than the one included in the frozen, as binary.
Let me know how it goes. -
Got it @catalin: thank you. I am going to test it soon.
For now, I am preparing 3 LoPy4s for their first use (at least for me) in an orienteering event with 200 runners: 800m of meshed radio communication between the start line and the IT head quarter in a hilly forest. I hope it is going to work fine :-)
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