From d9afd1e750dcc56e38b08eedbd1865b17a390096 Mon Sep 17 00:00:00 2001 From: geeksville Date: Tue, 28 Apr 2020 17:14:28 -0700 Subject: [PATCH] fix examples --- README.md | 2 +- docs/meshtastic/index.html | 14 ++++++++------ meshtastic/__init__.py | 5 +++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 216bf10..0243b64 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ then run the following python3 code: ``` import meshtastic interface = meshtastic.StreamInterface() # By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0 -interface.sendData("hello world") +interface.sendData("hello mesh") ``` For the rough notes/implementation plan see [TODO](https://github.com/meshtastic/Meshtastic-python/blob/master/TODO.md). diff --git a/docs/meshtastic/index.html b/docs/meshtastic/index.html index 58e72c7..a59de7f 100644 --- a/docs/meshtastic/index.html +++ b/docs/meshtastic/index.html @@ -22,7 +22,7 @@

an API for Meshtastic devices

Primary class: StreamInterface -Install with pip: "pip3 install meshtastic" +Install with pip: "pip3 install meshtastic" Source code on github

properties of StreamInterface: