summaryrefslogtreecommitdiff
path: root/libraries/OBD/examples
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2013-10-07 11:19:56 +0800
committerStanley Huang <stanleyhuangyc@gmail.com>2013-10-07 11:19:56 +0800
commit948fac18830154769e8c569bdb04f0f328eb9d64 (patch)
tree65300c3b8d88f16ce5ef62d5d3096782ec760300 /libraries/OBD/examples
parent9ece6899db9a20e6cbfb0a197960b195b1a0d719 (diff)
download2021-arduino-obd-948fac18830154769e8c569bdb04f0f328eb9d64.tar.gz
2021-arduino-obd-948fac18830154769e8c569bdb04f0f328eb9d64.tar.bz2
2021-arduino-obd-948fac18830154769e8c569bdb04f0f328eb9d64.zip
add support for the new OBD I2C adapter
Diffstat (limited to 'libraries/OBD/examples')
-rw-r--r--libraries/OBD/examples/rpm_led/rpm_led.ino7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/OBD/examples/rpm_led/rpm_led.ino b/libraries/OBD/examples/rpm_led/rpm_led.ino
index 669d690..630336c 100644
--- a/libraries/OBD/examples/rpm_led/rpm_led.ino
+++ b/libraries/OBD/examples/rpm_led/rpm_led.ino
@@ -6,10 +6,15 @@
*************************************************************************/
#include <Arduino.h>
-#include "OBD.h"
+#include <Wire.h>
+#include <OBD.h>
+// OBD-II UART Adapter
COBD obd;
+// OBD-II I2C Adapter
+//COBDI2C obd;
+
void setup()
{
// we'll use the debug LED as output