Files
python/tests/hello_world.py
2020-12-09 09:21:41 +08:00

7 lines
224 B
Python

import meshtastic
import time
interface = meshtastic.SerialInterface() # By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0
interface.sendText("hello mesh")
interface.close()