Behaviours: gen_server
.
Pmod MAXSONAR module.
The Pmod MAXSONAR cyclically sends measurements via the UART interface. This module converts and stores the latest measurement.
Start the driver with1> grisp:add_device(uart, pmod_maxsonar).
get/0 | Get the latest measured distance in inches. |
get() -> integer()
Get the latest measured distance in inches.
Generated by EDoc