mirror of
https://github.com/meshtastic/python.git
synced 2025-12-24 00:17:54 -05:00
8 lines
255 B
Python
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()
|