calculate
Dependencies: mbed X_NUCLEO_IKS01A3 Mahony_Algorithm
Diff: CalculateData.h
- Revision:
- 0:313fbc3a198a
- Child:
- 1:48e219526d0f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CalculateData.h Wed Apr 01 16:47:06 2020 +0000 @@ -0,0 +1,56 @@ +/** +|**********************************************************************; +* Project : Projektarbeit Systemtechnik PES4 +* +* Program name : Beispiel +* +* Author : PES4 Team1 +* +* Team : **Team 1** +* Fabio Bernard +* Lukas Egli +* Matthias Ott +* Pascal Novacki +* Robin Wanner +* Vincent Vescoli +* Cyrill Zoller +* +* Date created : 20.02.2020 +* +* Purpose : Beispiel +* +|**********************************************************************; +**/ + + +#ifndef CALCULATEDATA_H +#define CALCULATEDATA_H + +#include "mbed.h" +#include "XNucleoIKS01A3.h" + +class CalculateData { + +public: + + CalculateData(PinName Pin0, PinName Pin1, PinName Pin2, + PinName Pin3, PinName Pin4, PinName Pin5, PinName Pin6); //Constructor + + virtual ~CalculateData(); + void enable(); + void disable(); + void getData(); + +private: + + static const float PERIOD; + + Ticker ticker; + + void run(); + +}; + + + +#endif \ No newline at end of file