Hesu-eco
/
limiteur_vitesse
premiere ebauche
Diff: speedlimiter.hpp
- Revision:
- 2:06f128641b62
- Child:
- 3:4da392d2bae8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/speedlimiter.hpp Thu Oct 18 02:20:14 2018 +0000 @@ -0,0 +1,25 @@ +/* +author: Sebastian Pelchat +date: october 2018 +*/ +#include "mbed.h" + +class SpeedLimiter +{ +public: + SpeedLimiter(const PinName& pedalInHi, const PinName& pedalInLo, const PinName& pedalOutHi, const PinName& pedalOutLo); + + +private: + + + +protected: + AnalogIn _pedalInHi; + AnalogIn _pedalInLo; + AnalogOut _pedalOutHi; + AnalogOut _pedalOutLo; + + + +}; \ No newline at end of file