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 9:a988aa7a4652, committed 2019-01-24
- Comitter:
- Helmut Tschemernjak
- Date:
- Thu Jan 24 14:27:11 2019 +0100
- Parent:
- 8:20149c0f4e26
- Child:
- 10:704ea02d32ac
- Commit message:
- Update with properties
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jan 24 14:22:12 2019 +0100
+++ b/main.cpp Thu Jan 24 14:27:11 2019 +0100
@@ -12,6 +12,10 @@
#include "RadioShuttle.h"
#include "RadioTest.h"
#include "GenericPingPong.h"
+#ifdef FEATURE_NVPROPERTY
+#include <NVPropertyProviderInterface.h>
+#include "NVProperty.h"
+#endif
DigitalOut statusLED(LED);
DigitalOut redLED(LED2);
@@ -42,7 +46,7 @@
InitSerial(30*1000, &statusLED);
dprintf("Welcome to RadioShuttle v%d.%d", RS_MAJOR, RS_MINOR);
dprintf("Voltage: %.2f (%s powered)", BatteryVoltage(), BatterySource());
-
+
#ifdef FEATURE_LORA
InitRadio();
Helmut Tschemernjak