An example project for the Heltec Turtle LoRa board (STM32L4 and SX1276 chips). The projects is only supported for the Nucleo-L432KC board platform in the mbed online and offline compiler environment. Visit www.radioshuttle.de (choose Turtle board) for instructions. Note that most source files and libraries are open source, however some files especially the RadioShuttle core protocol is copyrighted work. Check header for details.
Dependencies: mbed BufferedSerial SX1276GenericLib OLED_SSD1306 HELIOS_Si7021 NVProperty RadioShuttle-STM32L4 USBDeviceHT
Revision 46:a9241f24f4b7, committed 2019-02-24
- Comitter:
- Helmut Tschemernjak
- Date:
- Sun Feb 24 20:00:29 2019 +0100
- Parent:
- 45:22bb680cad5a
- Child:
- 47:59a9923a9f77
- Commit message:
- Moved property work into the correct property scope
Changed in this revision
| RadioTestSample.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RadioTestSample.cpp Sun Feb 24 14:57:36 2019 +0100
+++ b/RadioTestSample.cpp Sun Feb 24 20:00:29 2019 +0100
@@ -317,6 +317,8 @@
myProfile[0].Frequency = value;
if ((value = prop.GetProperty(prop.LORA_TXPOWER, 0)) != 0)
myProfile[0].TXPower = value;
+ if ((value = prop.GetProperty(prop.LORA_SPREADING_FACTOR, 0)) != 0)
+ myProfile[0].SpreadingFaktor = value;
#endif
@@ -335,8 +337,6 @@
LORA_SPI_MOSI, LORA_SPI_MISO, LORA_SPI_SCLK, LORA_CS, LORA_RESET,
LORA_DIO0, LORA_DIO1, LORA_DIO2, LORA_DIO3, LORA_DIO4, LORA_DIO5);
#endif
- if ((value = prop.GetProperty(prop.LORA_SPREADING_FACTOR, 0)) != 0)
- myProfile[0].SpreadingFaktor = value;
dprintf("RadioContinuesTX test, press reset to abort");
while(true) {
Helmut Tschemernjak