forked from colinbourassa/librosco
/
librosco.3
37 lines (31 loc) · 1.02 KB
/
librosco.3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.TH LIBMEMS 3
.SH libmemsinjection
libmemsinjection - Serial interface library for Rover MEMS engine management computer
.SH SYNOPSIS
.B #include <memsinjection.h>
.SH NOTES
The MEMS ECU does not use standard RS-232 signaling characteristics, instead using 5V TTL levels. This library therefore requires a serial adapter capable of 0-5VDC levels. Strongly recommended is the FTDI TTL-232R-5V. See the
.B RESOURCES
section for more information.
.SH DESCRIPTION
This library provides an interface to the diagnostic serial port on the Rover MEMS engine management computer.
.SH EXAMPLE
mems_info info;
.br
mems_data data;
.br
mems_init(&info);
.br
.nf
if (mems_connect(&info, "/dev/ttyUSB0"))
{
bool readSuccess = mems_read(&info, &data);
}
.br
mems_cleanup(&info);
.SH RESOURCES
Information about building a compatible serial cable is available in the Wiki section of the project's web site:
.br
.I https://github.com/colinbourassa/libmemsinjection/blob/wiki/HardwareInterface.md
.SH AUTHOR
Colin Bourassa <colin.bourassa@gmail.com>