From c5a9fdb80df58015c0705d23e2208cb576affd7c Mon Sep 17 00:00:00 2001
From: Stanley Huang <stanleyhuangyc@live.com>
Date: Wed, 6 Jul 2016 14:57:50 +0800
Subject: Renaming read() to readPID() in OBD library

---
 libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libraries/OBD/examples/rpm_led_uart')

diff --git a/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino b/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino
index 691ee9c..a248307 100644
--- a/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino
+++ b/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino
@@ -24,7 +24,7 @@ void setup()
 void loop()
 {
   int value;
-  if (obd.read(PID_RPM, value)) {
+  if (obd.readPID(PID_RPM, value)) {
     // RPM is successfully read and its value stored in variable 'value'
     // light on LED when RPM exceeds 3000
     digitalWrite(13, value > 3000 ? HIGH : LOW);
-- 
cgit v1.2.3