simple project to control mirrorless camera

Dependencies:   mbed BLE_API nRF51822

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Light.h Source File

Light.h

00001 #ifndef MBED_LIGHT_H
00002 #define MBED_LIGHT_H
00003  
00004 #include "mbed.h"
00005  
00006 class Light {
00007 public:
00008     Light(PinName pin);
00009     float getLightValue(void);
00010   
00011 private:  
00012     AnalogIn _pin;
00013     float _LightValue;    
00014 };
00015  
00016 #endif