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.
Revision 2:5519099a3d51, committed 2015-03-24
- Comitter:
- mbedaddict
- Date:
- Tue Mar 24 12:58:56 2015 +0000
- Parent:
- 1:536ffe609141
- Commit message:
- Recommit because it seems to now working. Compilation fails on another PC.
Changed in this revision
| main_vcnl40x0.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main_vcnl40x0.cpp Thu Mar 12 13:03:47 2015 +0000
+++ b/main_vcnl40x0.cpp Tue Mar 24 12:58:56 2015 +0000
@@ -68,10 +68,10 @@
// endless loop /////////////////////////////////////////////////////////////////////////////////////
while (1) {
- mled0 = 1; // LED on
+ //mled0 = 1; // LED on
VCNL40x0_Device.ReadProxiOnDemand (&ProxiValue); // read prox value on demand
VCNL40x0_Device.ReadAmbiOnDemand (&AmbiValue); // read ambi value on demand
- mled0 = 0; // LED off
+ //mled0 = 0; // LED off
// pront values on screen
pc.printf("\n\rProxi: %5.0i cts \tAmbi: %5.0i cts \tIlluminance: %7.2f lx", ProxiValue, AmbiValue, AmbiValue/4.0);