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 18:d2f227e0a8bf, committed 2019-02-03
- Comitter:
- Helmut Tschemernjak
- Date:
- Sun Feb 03 13:03:46 2019 +0100
- Parent:
- 17:a3fc679456e8
- Child:
- 19:9dd78a8f630b
- Commit message:
- Added property editor
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| main.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Feb 03 13:03:14 2019 +0100
+++ b/main.cpp Sun Feb 03 13:03:46 2019 +0100
@@ -37,6 +37,7 @@
InterrruptMSG(INT_TIMEOUT);
}
+
int main() {
/*
* inits the Serial or USBSerial when available (230400 baud).
@@ -48,6 +49,9 @@
dprintf("Welcome to RadioShuttle v%d.%d", RS_MAJOR, RS_MINOR);
dprintf("Voltage: %.2f (%s powered)", BatteryVoltage(), BatterySource());
+#ifdef FEATURE_NVPROPERTYEDITOR
+ // NVPropertyEditor();
+#endif
#ifdef FEATURE_LORA
InitRadio();
--- a/main.h Sun Feb 03 13:03:14 2019 +0100 +++ b/main.h Sun Feb 03 13:03:46 2019 +0100 @@ -40,3 +40,5 @@ extern void rprintf(const char *format, ...) __attribute__((format(printf,1,2))); extern void VAprintf(bool timstamp, bool newline, bool printEnabled, const char *format, va_list arg); extern char *ConsoleReadline(char *buf, int buflen, bool echo); +extern void NVPropertyEditor(void); +
Helmut Tschemernjak