Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DHT11 SHTx SX1272Lib mbed
Fork of SX1272-Transmitter by
Revision 20:c4f5299fa99d, committed 2017-03-28
- Comitter:
- Antoine38
- Date:
- Tue Mar 28 14:04:29 2017 +0000
- Parent:
- 19:e50e4a513de1
- Child:
- 21:3ea7ab726dd4
- Commit message:
- TX TIMEOUT
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 28 12:20:45 2017 +0000
+++ b/main.cpp Tue Mar 28 14:04:29 2017 +0000
@@ -16,6 +16,7 @@
#define RF_FREQUENCY 868000000 // Hz
#define TX_OUTPUT_POWER 14 // 14 dBm
+#define TX_TIMEOUT 5000000 // in us
#define LORA_BANDWIDTH 2 // [0: 125 kHz,
// 1: 250 kHz,
@@ -96,7 +97,7 @@
LORA_SPREADING_FACTOR, LORA_CODINGRATE,
LORA_PREAMBLE_LENGTH, LORA_FIX_LENGTH_PAYLOAD_ON,
LORA_CRC_ENABLED, LORA_FHSS_ENABLED, LORA_NB_SYMB_HOP,
- LORA_IQ_INVERSION_ON, 2000000 );
+ LORA_IQ_INVERSION_ON, TX_TIMEOUT );
// Soil sensor configuration
soilSensor.setOTPReload(false);
