mirror of
https://github.com/AkitaEngineering/Akita-Meshtastic-Meshcore-Bridge.git
synced 2026-03-28 17:42:42 +01:00
8 lines
222 B
Python
8 lines
222 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)
|