00001
00006 #ifndef __ACCELERO_H__
00007 #define __ACCELERO_H__
00008
00009
00010 #define ACCELEROMETER_OFF 0
00011 #define ACCELEROMETER_ON 1
00012
00013
00014 void accelero_init(int adc_clock);
00015 void accelero_sleep(int sleep);
00016 float accelero_read_one(int channel);
00017 int accelero_read(float *p_dst);
00018
00019
00020 #endif // __ACCELERO_H__