bike datalogging basic
Data.h
- Committer:
- ptuytsch
- Date:
- 2016-04-16
- Revision:
- 0:ec76b22829d5
File content as of revision 0:ec76b22829d5:
#ifndef DATA_H #define DATA_H #include "mbed.h" class Data{ //Ticker voor peroidieke metingen. protected: InterruptIn button; Ticker tick; public: Data(PinName pin); double getDistance(void); int getTime(void); double getSpeed(void); double getAverage(void); int getLastCount(void); }; #endif