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

#if !defined(EA_37A8B168_5A9C_4b00_ADE4_A409FD1226F7__INCLUDED_)
#define EA_37A8B168_5A9C_4b00_ADE4_A409FD1226F7__INCLUDED_


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

#include "InputPort.h"


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

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

#endif /*!defined(EA_37A8B168_5A9C_4b00_ADE4_A409FD1226F7__INCLUDED_)*/

