Gorazd Kovacic / Mbed OS Dot-Examples-delujoc

Dependencies:   Dot-Examples libxDot-mbed5 ISL29011

Fork of Dot-Examples by MultiTech

Files at this revision

API Documentation at this revision

Comitter:
gorazdko
Date:
Mon Aug 21 06:05:58 2017 +0000
Parent:
24:d80afce304c6
Child:
26:4e32e8a223c7
Commit message:
uspesno stestirana dvosmerna komunikacija; logi poslani roku in mateju

Changed in this revision

examples/example_config.h Show annotated file Show diff for this revision Revisions of this file
examples/src/peer_to_peer_example.cpp Show annotated file Show diff for this revision Revisions of this file
libxDot-mbed5.lib Show annotated file Show diff for this revision Revisions of this file
--- a/examples/example_config.h	Tue Jul 11 10:46:17 2017 -0500
+++ b/examples/example_config.h	Mon Aug 21 06:05:58 2017 +0000
@@ -9,7 +9,7 @@
 
 // the active example is the one that will be compiled
 #if !defined(ACTIVE_EXAMPLE)
-#define ACTIVE_EXAMPLE  OTA_EXAMPLE
+#define ACTIVE_EXAMPLE  PEER_TO_PEER_EXAMPLE
 #endif
 
 // the active channel plan is the one that will be compiled
--- a/examples/src/peer_to_peer_example.cpp	Tue Jul 11 10:46:17 2017 -0500
+++ b/examples/src/peer_to_peer_example.cpp	Mon Aug 21 06:05:58 2017 +0000
@@ -172,7 +172,7 @@
 
 #if defined(TARGET_XDOT_L151CC)
         // get the latest light sample and send it to the gateway
-        light = lux.getData();
+        light =  3; //lux.getData();
         tx_data.push_back((light >> 8) & 0xFF);
         tx_data.push_back(light & 0xFF);
         logInfo("light: %lu [0x%04X]", light, light);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libxDot-mbed5.lib	Mon Aug 21 06:05:58 2017 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/MultiTech/code/libxDot-mbed5/#fc3817b65dca