deal with serial_cx issues

This commit is contained in:
Florent 2025-07-10 17:24:01 +02:00
parent 190fde8a45
commit d4278b8afa
5 changed files with 12 additions and 10 deletions

View file

@ -1,15 +1,14 @@
#!/usr/bin/python
import asyncio
from meshcore import MeshCore
from meshcore import MeshCore, EventType
PORT = "/dev/tty.usbserial-583A0069501"
BAUDRATE = 115200
async def main():
mc = await MeshCore.create_serial(PORT, BAUDRATE)
print(mc.self_info)
await mc.disconnect()