Ultrasonic Range Finder Sensors Library. May be used for SRF05 and all others sensors of the same kind (50ms period, 10us pulse)
Dependents: FRC_2018 TestVMA 0hackton_08_06_18 lib_FRC_2019 ... more
Diff: VMA306.h
- Revision:
- 4:a2c81d32d058
- Parent:
- 3:4d9c742b860b
--- a/VMA306.h Thu May 31 17:27:14 2018 +0000 +++ b/VMA306.h Fri Jun 01 07:28:57 2018 +0000 @@ -97,8 +97,12 @@ float readUSD(); private : - DigitalOut _trig1, _trig2, _trig3; - InterruptIn _echo1, _echo2, _echo3; + DigitalOut _trig1; + InterruptIn _echo1; + DigitalOut _trig2; + InterruptIn _echo2; + DigitalOut _trig3; + InterruptIn _echo3; Timer _timer; Ticker _ticker; void _rise1 (void);