We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2403e53 commit eaa94b9Copy full SHA for eaa94b9
micropython/lora/lora-sx127x/lora/sx127x.py
@@ -519,6 +519,9 @@ def configure(self, lora_cfg):
519
520
self._reg_update(_REG_MODEM_CONFIG3, update_mask, modem_config3)
521
522
+ if "syncword" in lora_cfg:
523
+ self._reg_write(_REG_SYNC_WORD, lora_cfg["syncword"])
524
+
525
def _reg_write(self, reg, value):
526
self._cs(0)
527
if isinstance(value, int):
0 commit comments