Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
E18_D80NK/E18_D80NK.h
- Committer:
- ruslanbredun
- Date:
- 2021-11-02
- Revision:
- 1:2c9f4d24d521
- Parent:
- 0:858059db6068
File content as of revision 1:2c9f4d24d521:
#pragma once #include "mbed.h" class E18_D80NK{ private: DigitalIn input; public: /** Create an object of a library to work with the E18-D80NK * @param[PinName] inputPin - assigned pin to communicate with the sensor */ E18_D80NK(PinName); /** Check if there is an obstacle in front of the sensor * @return - if there's an obstacle return 0, otherwise - 1 */ int checkObstacle(void); };