simple project to control mirrorless camera

Dependencies:   mbed BLE_API nRF51822

Light/Light.h

Committer:
vilesovds
Date:
2019-08-02
Revision:
4:adfb32273577
Parent:
0:81f1818af032

File content as of revision 4:adfb32273577:

#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