ECRobot C++ API for LEGO MINDSTORMS NXT  1.0.10
device/RcxLightSensor.h
00001 //
00002 // RcxLightSensor.h
00003 //
00004 // Copyright 2009 by Takashi Chikamasa, Jon C. Martin and Robert W. Kramer
00005 //
00006 
00007 #ifndef RCXLIGHTSENSOR_H_
00008 #define RCXLIGHTSENSOR_H_
00009 
00010 #include "Sensor.h"
00011 
00012 namespace ecrobot
00013 {
00017 class RcxLightSensor: public Sensor 
00018 {
00019 public:
00029         explicit RcxLightSensor(ePortS port);
00030 
00036         S16 getBrightness(void) const;
00037 };
00038 }
00039 
00040 #endif
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines