FeedbackSensor.h

Go to the documentation of this file.
00001 #ifndef __FEEDBACK_H__
00002 #define __FEEDBACK_H__
00003 
00004 #define FEEDBACK_SENSOR_0 0x00
00005 #define FEEDBACK_SENSOR_1 0x01
00006 
00007 #define FEEDBACK_THRESHOLD 2
00008 
00009 #include "global.h"
00010 
00011 
00012 class FeedbackSensor {
00013 
00014      public:
00015           void init();
00016           void enableSensor();
00017           void disableSensor();
00018           char getFeedback();
00019           void invertSensor(unsigned char _sensorId, bool _state);
00020 
00021      private: 
00022           bool feedback_inv0, feedback_inv1;
00023 };
00024 
00025 #endif
00026 

Generated on Wed Mar 25 12:58:40 2009 for Crawling Robot Microcontroller Software by  doxygen 1.5.5