Engduino v2.1
|
00001 /** 00002 * \defgroup EngduinoLight Driver for Engduino Light Sensor 00003 * 00004 * @{ 00005 */ 00006 00007 /** 00008 * \file 00009 * Engduino Light sensor driver 00010 * \author 00011 * Engduino team: support@engduino.org 00012 */ 00013 00014 #ifndef __ENGDUINOLIGHT_H__ 00015 #define __ENGDUINOLIGHT_H__ 00016 00017 #include <stdio.h> 00018 #include <Arduino.h> 00019 #include <Engduino.h> 00020 00021 00022 /***********************************************************************************************\ 00023 * Public prototypes 00024 \***********************************************************************************************/ 00025 00026 class EngduinoLightClass 00027 { 00028 private: 00029 00030 public: 00031 EngduinoLightClass(); 00032 void begin(); 00033 void end(); 00034 uint16_t lightLevel(); 00035 00036 }; 00037 00038 extern EngduinoLightClass EngduinoLight; 00039 00040 #endif 00041 00042 /** @} */