mirror of
https://github.com/meshtastic/python.git
synced 2026-01-01 20:38:03 -05:00
fix bitrot in an old sanity test - use correct namespace
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import time
|
||||
|
||||
import meshtastic
|
||||
import meshtastic.serial_interface
|
||||
|
||||
interface = (
|
||||
meshtastic.SerialInterface()
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user