Ultraschall Test Geschwindigkeitsregelung
Fork of BertlLib by
Diff: Bertl14.h
- Revision:
- 2:16a5d3302ddb
- Parent:
- 0:e0131e671ea0
- Child:
- 6:78243412d2b3
--- a/Bertl14.h Fri Apr 25 14:35:21 2014 +0000 +++ b/Bertl14.h Tue Feb 24 03:47:04 2015 +0000 @@ -97,4 +97,37 @@ float distCM; }; +#ifndef ANALOGIN_HL +#define ANALOGIN_HL +class AnalogInHL : public AnalogIn { + public: + AnalogInHL(PinName pin) : AnalogIn(pin) { } + int Read() + { return read_u16()>>6; } +}; #endif + +#endif + + + + + + + + + + + + + + + + + + + + + + +