Example of using the mDot UDK with the X-NUCLEO-IKS01A2 board

Dependencies:   MTS_X_NUCLEO_IKS01A2 libmDot-mbed5

Fork of mDot-IKS01A1 by Peter Ferland

Files at this revision

API Documentation at this revision

Comitter:
pferland
Date:
Tue Jan 30 17:05:52 2018 +0000
Parent:
14:8bbf6a5b09a1
Commit message:
Corrected default library versions

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 8bbf6a5b09a1 -r fb9fa3ac530e main.cpp
--- a/main.cpp	Fri Jan 26 17:55:02 2018 +0000
+++ b/main.cpp	Tue Jan 30 17:05:52 2018 +0000
@@ -55,7 +55,7 @@
 static bool public_network = false;
 #endif
 static uint8_t ack = 0;
-static uint8_t tx_datarate = mDot::SF_7;
+static uint8_t tx_datarate = lora::DR_3;
 
 // deepsleep consumes slightly less current than sleep
 // in sleep mode, IO state is maintained, RAM is retained, and application will resume after waking up
diff -r 8bbf6a5b09a1 -r fb9fa3ac530e mbed-os.lib
--- a/mbed-os.lib	Fri Jan 26 17:55:02 2018 +0000
+++ b/mbed-os.lib	Tue Jan 30 17:05:52 2018 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#269f58d75b752a4e67a6a2d8c5c698635ffd6752
+https://github.com/ARMmbed/mbed-os/#fc1836545dcc2fc86f03b01292b62bf2089f67c3