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

#if !defined(EA_7A0A67CC_70B0_40da_807E_C56FCECFA3CE__INCLUDED_)
#define EA_7A0A67CC_70B0_40da_807E_C56FCECFA3CE__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_7A0A67CC_70B0_40da_807E_C56FCECFA3CE__INCLUDED_)*/

