Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
ACCELEROMETER.h@2:c4fb968de7d3, 2017-09-02 (annotated)
- Committer:
- subinmbed
- Date:
- Sat Sep 02 11:09:35 2017 +0000
- Revision:
- 2:c4fb968de7d3
Accelerometer commented
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| subinmbed | 2:c4fb968de7d3 | 1 | //char int1_src[1] = {0x31}; |
| subinmbed | 2:c4fb968de7d3 | 2 | //char int2_src[1] = {0x35}; |
| subinmbed | 2:c4fb968de7d3 | 3 | extern char MOVING_FLAG; |
| subinmbed | 2:c4fb968de7d3 | 4 | extern char int2_ths[],int1_ths[],int1_dur[],int2_dur[]; |
| subinmbed | 2:c4fb968de7d3 | 5 | |
| subinmbed | 2:c4fb968de7d3 | 6 | void movement_inertia(); |
| subinmbed | 2:c4fb968de7d3 | 7 | void sudden_jerk(); |
| subinmbed | 2:c4fb968de7d3 | 8 | void sbn();//not used |
| subinmbed | 2:c4fb968de7d3 | 9 | void sbn1();//not used |
| subinmbed | 2:c4fb968de7d3 | 10 | void initialise_configure_accelerometer(); |
| subinmbed | 2:c4fb968de7d3 | 11 | void configure_accelerometer(); |
| subinmbed | 2:c4fb968de7d3 | 12 | char initialize_accelerometer();//call from parent function |
| subinmbed | 2:c4fb968de7d3 | 13 | void print_data_bits(char); |
| subinmbed | 2:c4fb968de7d3 | 14 | void process_accelerometer(); |
| subinmbed | 2:c4fb968de7d3 | 15 | void jerk_threshold(char); |
| subinmbed | 2:c4fb968de7d3 | 16 | void jerk_duration(char); |
| subinmbed | 2:c4fb968de7d3 | 17 | void stopped(); |
| subinmbed | 2:c4fb968de7d3 | 18 | void movement_duration(char); |
| subinmbed | 2:c4fb968de7d3 | 19 | void movement_threshold(char); |
| subinmbed | 2:c4fb968de7d3 | 20 | void jerk_enable(); |
| subinmbed | 2:c4fb968de7d3 | 21 | void jerk_disable(); |
| subinmbed | 2:c4fb968de7d3 | 22 | void movement_enable(); |
| subinmbed | 2:c4fb968de7d3 | 23 | void movement_disable(); |