Dependencies: mbed BLE_API nRF51822
Diff: Light/Light.h
- Revision:
- 0:81f1818af032
diff -r 000000000000 -r 81f1818af032 Light/Light.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Light/Light.h Wed Oct 21 11:32:45 2015 +0000 @@ -0,0 +1,16 @@ +#ifndef MBED_LIGHT_H +#define MBED_LIGHT_H + +#include "mbed.h" + +class Light { +public: + Light(PinName pin); + float getLightValue(void); + +private: + AnalogIn _pin; + float _LightValue; +}; + +#endif \ No newline at end of file