Qmax / Mbed 2 deprecated LIS_Accelerometer_WIP

Dependencies:   mbed

Committer:
subinmbed
Date:
Fri Sep 01 17:58:24 2017 +0000
Revision:
1:ecd469d7323d
Accelerometer:completed with enable and disable option,need to check in real car(threshold changing functions not included)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
subinmbed 1:ecd469d7323d 1 //char int1_src[1] = {0x31};
subinmbed 1:ecd469d7323d 2 //char int2_src[1] = {0x35};
subinmbed 1:ecd469d7323d 3 extern char MOVING_FLAG;
subinmbed 1:ecd469d7323d 4 extern char int2_ths[],int1_ths[],int1_dur[],int2_dur[];
subinmbed 1:ecd469d7323d 5
subinmbed 1:ecd469d7323d 6 void movement_inertia();
subinmbed 1:ecd469d7323d 7 void sudden_jerk();
subinmbed 1:ecd469d7323d 8 void sbn();
subinmbed 1:ecd469d7323d 9 void sbn1();
subinmbed 1:ecd469d7323d 10 void initialise_configure_accelerometer();
subinmbed 1:ecd469d7323d 11 void configure_accelerometer();
subinmbed 1:ecd469d7323d 12 char initialize_accelerometer();//call from parent function
subinmbed 1:ecd469d7323d 13 void print_data_bits(char);
subinmbed 1:ecd469d7323d 14 void process_accelerometer();
subinmbed 1:ecd469d7323d 15 void jerk_threshold(char);
subinmbed 1:ecd469d7323d 16 void jerk_duration(char);
subinmbed 1:ecd469d7323d 17 void stopped();
subinmbed 1:ecd469d7323d 18 void movement_duration(char);
subinmbed 1:ecd469d7323d 19 void movement_threshold(char);
subinmbed 1:ecd469d7323d 20 void jerk_enable();
subinmbed 1:ecd469d7323d 21 void jerk_disable();
subinmbed 1:ecd469d7323d 22 void movement_enable();
subinmbed 1:ecd469d7323d 23 void movement_disable();