Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Dot-Examples libxDot-mbed5 ISL29011
Fork of Dot-Examples by
Diff: examples/src/peer_to_peer_example.cpp
- 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);
