mirror of
https://github.com/meshtastic/python.git
synced 2026-01-05 14:27:54 -05:00
fix example
This commit is contained in:
@@ -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 mesh")
|
||||
interface.sendText("hello mesh") # or sendData to send binary data, see documentations for other options.
|
||||
```
|
||||
|
||||
For the rough notes/implementation plan see [TODO](https://github.com/meshtastic/Meshtastic-python/blob/master/TODO.md).
|
||||
|
||||
Reference in New Issue
Block a user