Program to read and display 3-axis acceleration data
Dependencies: USBDevice mbed DipCortex-USB-EEProm
main.h
- Committer:
- johnhalfpenny
- Date:
- 2015-09-11
- Revision:
- 11:8eed6d69b336
- Parent:
- 10:ba3a28345f76
File content as of revision 11:8eed6d69b336:
#ifndef MAIN_H #define MAIN_H #define TRUE 1 #define FALSE 0 #define MONITORINTERVAL 0.2 // Monitoring interval in seconds #define WAITATSTART 4 // Delay at start to allow pc terminal software to be started #define MAXSAMPLES 650 // Maximum number of 16bit x 3 samples in 8k RAM and fit into 4kB EEPROM #define EEPROMBASEADDRESS 0 // EEPROM base address where monitored values are stored #endif