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: MMA8452 N5110 PowerControl mbed
main.cpp File Reference
Pedometer implementation using the sensor Triple Axis Accelerometer Breakout - MMA8452Q. More...
Go to the source code of this file.
Functions | |
| int | main () |
| void | Interrupt () |
| Set a flag to alert that a Transient Detection Interrupt has ocurred. | |
| void | Interrupt2 () |
| Set a flag to alert that a Pulse Detection Interrupt has ocurred. | |
| void | error () |
| Blind the LEDS for state machine error alert. | |
| void | TimerExpired1 () |
| Set a flag to alert that a Timer1 Interrupt has ocurred. | |
| void | TimerExpired2 () |
| Set a flag to alert that a Timer2 Interrupt has ocurred. | |
| void | TimerExpired3 () |
| Performs the calculation for the chronometer time. | |
| void | writeDataToFile (char *date, int data1, float data2) |
| Saves the data collected in the stepping count to the flash disk. | |
Detailed Description
Pedometer implementation using the sensor Triple Axis Accelerometer Breakout - MMA8452Q.
Definition in file main.cpp.
Function Documentation
| void error | ( | ) |
| void Interrupt | ( | ) |
| void Interrupt2 | ( | ) |
| int main | ( | ) |
| void TimerExpired1 | ( | ) |
| void TimerExpired2 | ( | ) |
| void TimerExpired3 | ( | ) |
Generated on Sun Jul 24 2022 20:18:03 by
1.7.2