Gorazd Kovacic / Mbed OS Dot-Examples-delujoc

Dependencies:   Dot-Examples libxDot-mbed5 ISL29011

Fork of Dot-Examples by MultiTech

Revision:
25:fab8f723215d
Parent:
22:d9bc10bbc433
--- 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);