HCSR04 Library
|
Distance meter controller. More...
#include <HCSR04.h>
Public Member Functions | |
contrDist (distancemeter &meter, display &screen) | |
int | getResult (Unit unit) |
Function for fetching result. More... | |
void | dispResult (Unit unit, int height) |
Function for displaying result directly on display. More... | |
![]() | |
controller (display &screen) | |
Superclass constructor. | |
Additional Inherited Members | |
![]() | |
display & | screen |
Distance meter controller.
This controller is mainly intended for displaying measurements on the display, it can also be used for just fetching results.
|
inlinevirtual |
Function for displaying result directly on display.
"Unit unit" represents the unit in which the measurements will be outputted.
Available units:
Unit::Centim for centimeters.
Unit::Inch for inches.
Implements controller.
|
inlinevirtual |
Function for fetching result.
"Unit unit" represents the unit in which the measurements will be outputted.
Available units:
Unit::Centim for centimeters.
Unit::Inch for inches.
Implements controller.