Skip to content

Commit

Permalink
Update API.md - Wrong default Spreading Factor
Browse files Browse the repository at this point in the history
Change API to match default spreading factor used by Heltec.begin()

See:
https://github.com/HelTecAutomation/Heltec_ESP32/blob/01a811fa8b6989fe2d0eccfea5c20fef72b7aaa4/src/lora/LoRa.cpp#L121

Related Closed Issue:
HelTecAutomation#81
  • Loading branch information
cyrusbowman authored Aug 23, 2023
1 parent 01a811f commit d24d243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lora/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Change the spreading factor of the radio.
```arduino
LoRa.setSpreadingFactor(spreadingFactor);
```
* `spreadingFactor` - spreading factor, defaults to `7`
* `spreadingFactor` - spreading factor, defaults to `11`

Supported values are between `6` and `12`. If a spreading factor of `6` is set, implicit header mode must be used to transmit and receive packets.

Expand Down

0 comments on commit d24d243

Please sign in to comment.