PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
Simple-Libraries
Learn
Simple Libraries
Sensor
libping
ping.h
Go to the documentation of this file.
1
15
#ifndef PING_H
16
#define PING_H
17
18
#if defined(__cplusplus)
19
extern
"C"
{
20
#endif
21
22
#include "
simpletools.h
"
23
34
int
ping
(
int
pin);
35
44
int
ping_cm
(
int
pin);
45
54
int
ping_inches
(
int
pin);
55
56
#if defined(__cplusplus)
57
}
58
#endif
59
/* __cplusplus */
60
#endif
61
/* PING_H */
62
ping_cm
int ping_cm(int pin)
Report Ping))) measurement as a centimeter distance.
Definition:
ping.c:11
ping_inches
int ping_inches(int pin)
Report Ping))) measurement as an inch distance.
Definition:
ping.c:18
simpletools.h
This library provides convenient functions for a variety of microcontroller I/O, timing,...
ping
int ping(int pin)
Measure echo time in terms of Propeller system clock ticks.
Definition:
ping.c:3
Generated on Fri May 20 2022 16:48:04 for PropWare by
1.8.17