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

#if !defined(EA_89AD68C8_6249_4025_81B1_73E0F5AFFF9E__INCLUDED_)
#define EA_89AD68C8_6249_4025_81B1_73E0F5AFFF9E__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_89AD68C8_6249_4025_81B1_73E0F5AFFF9E__INCLUDED_)*/

