00001 00002 #ifndef SONAR_RANGEFINDER_H 00003 #define SONAR_RANGEFINDER_H 00004 00005 #include "coridium.h" 00006 #include "cor_hwlib.h" 00007 #include "cor_wrflash.h" 00008 00009 #include "string.h" 00010 #include "printf.h" 00011 00012 //init system and micro battery ADC input pins 00013 void initializeSonarRangefinders(int left_pin, int center_pin, int right_pin); 00014 00015 int getSonarLeft(); 00016 int getSonarCenter(); 00017 int getSonarRight(); 00018 00019 00020 #endif