Files
python/tests/hello_world.py

8 lines
255 B
Python

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