Pymesh and RGB LED
Is it possible to disable the use of the RGB LED by pymesh and reserve it for other purposes?
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 :-)
catalin last edited by
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.