Hesu-eco
/
limiteur_vitesse
premiere ebauche
speedlimiter.hpp@2:06f128641b62, 2018-10-18 (annotated)
- Committer:
- shovelcat
- Date:
- Thu Oct 18 02:20:14 2018 +0000
- Revision:
- 2:06f128641b62
- Child:
- 3:4da392d2bae8
tests on vehicule succeeded
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shovelcat | 2:06f128641b62 | 1 | /* |
shovelcat | 2:06f128641b62 | 2 | author: Sebastian Pelchat |
shovelcat | 2:06f128641b62 | 3 | date: october 2018 |
shovelcat | 2:06f128641b62 | 4 | */ |
shovelcat | 2:06f128641b62 | 5 | #include "mbed.h" |
shovelcat | 2:06f128641b62 | 6 | |
shovelcat | 2:06f128641b62 | 7 | class SpeedLimiter |
shovelcat | 2:06f128641b62 | 8 | { |
shovelcat | 2:06f128641b62 | 9 | public: |
shovelcat | 2:06f128641b62 | 10 | SpeedLimiter(const PinName& pedalInHi, const PinName& pedalInLo, const PinName& pedalOutHi, const PinName& pedalOutLo); |
shovelcat | 2:06f128641b62 | 11 | |
shovelcat | 2:06f128641b62 | 12 | |
shovelcat | 2:06f128641b62 | 13 | private: |
shovelcat | 2:06f128641b62 | 14 | |
shovelcat | 2:06f128641b62 | 15 | |
shovelcat | 2:06f128641b62 | 16 | |
shovelcat | 2:06f128641b62 | 17 | protected: |
shovelcat | 2:06f128641b62 | 18 | AnalogIn _pedalInHi; |
shovelcat | 2:06f128641b62 | 19 | AnalogIn _pedalInLo; |
shovelcat | 2:06f128641b62 | 20 | AnalogOut _pedalOutHi; |
shovelcat | 2:06f128641b62 | 21 | AnalogOut _pedalOutLo; |
shovelcat | 2:06f128641b62 | 22 | |
shovelcat | 2:06f128641b62 | 23 | |
shovelcat | 2:06f128641b62 | 24 | |
shovelcat | 2:06f128641b62 | 25 | }; |