Revert "fix example"

This reverts commit 9bde16bde7.
This commit is contained in:
Mike Kinney 2021-12-22 15:56:28 -08:00
parent 9bde16bde7
commit d972784b9d

View file

@ -7,13 +7,8 @@ sidebar_label: Python usage
An example using Python 3 code to send a message to the mesh:
```python
import meshtastic
import meshtastic.serial_interface
# By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0
interface = meshtastic.serial_interface.SerialInterface()
# or sendData to send binary data, see documentations for other options.
interface.sendText("hello mesh")
interface = meshtastic.SerialInterface() # By default will try to find a meshtastic device, otherwise provide a device path like /dev/ttyUSB0
interface.sendText("hello mesh") # or sendData to send binary data, see documentations for other options.
interface.close()
```