From 6160e574d95fdbd1c83d40700112ff9a892f3add Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Fri, 29 Nov 2013 23:15:11 +1100 Subject: update sample sketches --- samples/dashboard_1602/dashboard_1602.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/dashboard_1602') diff --git a/samples/dashboard_1602/dashboard_1602.ino b/samples/dashboard_1602/dashboard_1602.ino index 848800e..6fb94b0 100644 --- a/samples/dashboard_1602/dashboard_1602.ino +++ b/samples/dashboard_1602/dashboard_1602.ino @@ -73,7 +73,7 @@ bool showData(int index) uint8_t mode = modes[index]; uint8_t pid = modePids[mode]; digitalWrite(13, HIGH); // set the LED on - if (!obd.readSensor(pid, value)) { + if (!obd.read(pid, value)) { // display received data on error lcd.cursorTo(index + 1, 0); lcd.printIn("Error"); -- cgit v1.2.3