File: hello_world.py

package info (click to toggle)
meshtastic 2.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,596 kB
  • sloc: python: 10,741; sh: 76; makefile: 33
file content (7 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
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()