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.
Dependents: X_NUCLEO_IKS01A1 mDot_X_NUCLEO_IKS01A1 53L0A1 X_NUCLEO_IKS01A1 ... more
Fork of ST_INTERFACES by
This library contains all abstract classes which together constitute the common API to which all existing and future ST components will adhere to.
Diff: Sensors/LightSensor.h
- Revision:
- 2:e2bf4d06a8fc
- Parent:
- 1:a7810e7acf8d
- Child:
- 3:b1bb477e115e
--- a/Sensors/LightSensor.h	Tue Sep 27 11:28:52 2016 +0000
+++ b/Sensors/LightSensor.h	Tue Nov 29 17:43:48 2016 +0000
@@ -54,7 +54,7 @@
      * @param[out]  piData Pointer to where to store light to
      * @return      0 in case of success, an error code otherwise
      */
-    virtual int GetLight(uint32_t *piData) = 0;
+    virtual int GetLux(uint32_t *piData) = 0;
 };
 
 #endif /* __LIGHT_SENSOR_CLASS_H */
    