michael hollegha
/
LineSensTest_B16
LineSensTest for Bertl16
Fork of B16Test4 by
Diff: Bertl16.h
- Revision:
- 1:a2c68aba6d98
- Parent:
- 0:e86913f987fa
--- a/Bertl16.h Mon Oct 09 08:00:53 2017 +0000 +++ b/Bertl16.h Wed Dec 27 12:15:27 2017 +0000 @@ -138,6 +138,14 @@ }; */ +class AnalogInHL2 : public AnalogIn { + public: + AnalogInHL2(PinName pin) : AnalogIn(pin) {} + int Read() + { return read_u16()>>4; } +}; + +