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

Method fuelType

src/ELMduino.cpp:2055–2058  ·  view source on GitHub ↗

uint8_t ELM327::fuelType() Description: ------------ * Find fuel type (https://en.wikipedia.org/wiki/OBD-II_PIDs#Fuel_Type_Coding) Inputs: ------- * void Return: ------- * uint8_t - Bit encoded (https://en.wikipedia.org/wiki/OBD-II_PIDs#Fuel_Type_Coding) */

Source from the content-addressed store, hash-verified

2053 * uint8_t - Bit encoded (https://en.wikipedia.org/wiki/OBD-II_PIDs#Fuel_Type_Coding)
2054*/
2055uint8_t ELM327::fuelType()
2056{
2057 return (uint8_t)processPID(SERVICE_01, FUEL_TYPE, 1, 1);
2058}
2059
2060/*
2061 float ELM327::ethanolPercent()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected