MCPcopy Create free account
hub / github.com/PowerBroker2/ELMduino / kph

Method kph

src/ELMduino.cpp:1175–1178  ·  view source on GitHub ↗

int32_t ELM327::kph() Description: ------------ * Queries and parses received message for/returns vehicle speed data (kph) Inputs: ------- * void Return: ------- * int32_t - Vehicle speed in kph */

Source from the content-addressed store, hash-verified

1173 * int32_t - Vehicle speed in kph
1174*/
1175int32_t ELM327::kph()
1176{
1177 return (int32_t)processPID(SERVICE_01, VEHICLE_SPEED, 1, 1);
1178}
1179
1180/*
1181 float ELM327::mph()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected