mirror of
https://github.com/AkitaEngineering/Akita-Meshtastic-Meshcore-Bridge.git
synced 2026-03-28 17:42:42 +01:00
9 lines
226 B
Python
9 lines
226 B
Python
from ammb import config_handler
|
|
|
|
path = "tmp_no_default.ini"
|
|
with open(path, "w") as f:
|
|
f.write("[serial]\nSERIAL_PORT=/dev/ttyS1\n")
|
|
print("Using file:", path)
|
|
cfg = config_handler.load_config(path)
|
|
print("Result:", cfg)
|