/****************************************************
 *  LightSensor.h                                         
 *  Created on: 2012/04/17 11:51:02                      
 *  Implementation of the Class LightSensor       
 *  Original author: hiroyuki.watanabe                     
 ****************************************************/

#if !defined(EA_185707CE_8D9A_4a72_BFE3_F07B8B581DB4__INCLUDED_)
#define EA_185707CE_8D9A_4a72_BFE3_F07B8B581DB4__INCLUDED_


#include "kernel.h"
#include "kernel_id.h"

#include "InputPort.h"


// 属性を保持するための構造体の定義
typedef struct LightSensor
{
	INPUT_PORT inputPort;
} LightSensor;

void LightSensor_init(LightSensor* this, INPUT_PORT a_inputPort);
unsigned int LightSensor_getBrightness(LightSensor* this);

#endif /*!defined(EA_185707CE_8D9A_4a72_BFE3_F07B8B581DB4__INCLUDED_)*/

