Elisa3
|
00001 00002 #ifndef UTILITY_H 00003 #define UTILITY_H 00004 00005 00019 #include "variables.h" 00020 #include <avr\io.h> 00021 #include <avr\interrupt.h> 00022 #include <avr\sleep.h> 00023 #include <avr\eeprom.h> 00024 #include "ports_io.h" 00025 #include "adc.h" 00026 #include "motors.h" 00027 #include "leds.h" 00028 #include "spi.h" 00029 #include "mirf.h" 00030 #include "usart.h" 00031 #include "sensors.h" 00032 #include "ir_remote_control.h" 00033 #include "eepromIO.h" 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00043 unsigned char getSelector(); 00044 00049 void initPeripherals(); 00050 00056 void sleep(unsigned char seconds); 00057 00064 unsigned long int getTime100MicroSec(); 00065 00070 void readBatteryLevel(); 00071 00072 void resetOdometry(); 00073 00074 #ifdef __cplusplus 00075 } // extern "C" 00076 #endif 00077 00078 #endif