Module pmod_maxsonar

Pmod MAXSONAR module.

Behaviours: gen_server.

Description

Pmod MAXSONAR module.

The Pmod MAXSONAR cyclically sends measurements via the UART interface. This module converts and stores the latest measurement.

Start the driver with
  1> grisp:add_device(uart, pmod_maxsonar).

Function Index

get/0Get the latest measured distance in inches.

Function Details

get/0

get() -> integer()

Get the latest measured distance in inches.


Generated by EDoc