summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-06-28 12:02:42 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2014-06-28 12:02:42 +1000
commit04ff9adeac754d1cf917a341c46dcb8eb8ba1455 (patch)
tree774355913cb8c4cd69d5d8400e67693b68d1b64b
parent0e4ceeb52dff93724c0fe1ac8c45fd0cd878bf69 (diff)
download2021-arduino-obd-04ff9adeac754d1cf917a341c46dcb8eb8ba1455.tar.gz
2021-arduino-obd-04ff9adeac754d1cf917a341c46dcb8eb8ba1455.tar.bz2
2021-arduino-obd-04ff9adeac754d1cf917a341c46dcb8eb8ba1455.zip
Update example sketches
-rw-r--r--libraries/OBD/examples/rpm_led_i2c/rpm_led_i2c.ino4
-rw-r--r--libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino5
2 files changed, 5 insertions, 4 deletions
diff --git a/libraries/OBD/examples/rpm_led_i2c/rpm_led_i2c.ino b/libraries/OBD/examples/rpm_led_i2c/rpm_led_i2c.ino
index 27b9db2..d999159 100644
--- a/libraries/OBD/examples/rpm_led_i2c/rpm_led_i2c.ino
+++ b/libraries/OBD/examples/rpm_led_i2c/rpm_led_i2c.ino
@@ -1,8 +1,8 @@
/*************************************************************************
* Sample sketch based on OBD-II library for Arduino
* Distributed under GPL v2.0
-* Copyright (c) 2012-2013 Stanley Huang <stanleyhuangyc@gmail.com>
-* All rights reserved.
+* Visit http://freematics.com for more information
+* (C)2012-2014 Stanley Huang <stanleyhuangyc@gmail.com>
*************************************************************************/
#include <Arduino.h>
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 645e306..691ee9c 100644
--- a/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino
+++ b/libraries/OBD/examples/rpm_led_uart/rpm_led_uart.ino
@@ -1,11 +1,12 @@
/*************************************************************************
* Sample sketch based on OBD-II library for Arduino
* Distributed under GPL v2.0
-* Copyright (c) 2012-2013 Stanley Huang <stanleyhuangyc@gmail.com>
-* All rights reserved.
+* Visit http://freematics.com for more information
+* (C)2012-2014 Stanley Huang <stanleyhuangyc@gmail.com>
*************************************************************************/
#include <Arduino.h>
+#include <Wire.h>
#include <OBD.h>
COBD obd;