tortuga DataLogging Library: battery, speed, time, average...
Fork of DataLogging by
Data.h
- Committer:
- ptuytsch
- Date:
- 2016-04-16
- Revision:
- 0:ec76b22829d5
- Child:
- 1:6e25c2b5c20c
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