test
Dependencies: MbedJSONValue DISCO_L475VG_IOT01A_wifi mbed-http
US100.h
- Committer:
- Eason0505
- Date:
- 2019-01-01
- Revision:
- 0:065178c282bd
File content as of revision 0:065178c282bd:
#ifndef US100_H #define US100_H #include "mbed.h" class US100 { public: US100(PinName t, PinName e); int echo_duration(); int distance(); private: DigitalOut trig; DigitalIn echo; Timer timer; }; #endif