diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-01-16 00:05:07 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-01-16 00:05:07 +1100 |
commit | b7159aa6a6e2a05be7edc62e48e3e22547213acb (patch) | |
tree | 8288bf5bd2d2423b752b5ab4bc92cc612ee558e8 /samples/test_obd_i2c/test_obd_i2c.ino | |
parent | c2e1a9224c790d372fe35758eeb8c1f08201092a (diff) | |
download | 2021-arduino-obd-b7159aa6a6e2a05be7edc62e48e3e22547213acb.tar.gz 2021-arduino-obd-b7159aa6a6e2a05be7edc62e48e3e22547213acb.tar.bz2 2021-arduino-obd-b7159aa6a6e2a05be7edc62e48e3e22547213acb.zip |
Update test sketch for OBD-II I2C Adapter
Diffstat (limited to 'samples/test_obd_i2c/test_obd_i2c.ino')
-rw-r--r-- | samples/test_obd_i2c/test_obd_i2c.ino | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/samples/test_obd_i2c/test_obd_i2c.ino b/samples/test_obd_i2c/test_obd_i2c.ino index 1e3a71d..dd50c2f 100644 --- a/samples/test_obd_i2c/test_obd_i2c.ino +++ b/samples/test_obd_i2c/test_obd_i2c.ino @@ -3,11 +3,11 @@ #include <OBD.h> #include <MPU6050.h> #include <SPI.h> -#include <MultiLCD.h> +//#include <MultiLCD.h> -LCD_ILI9341 lcd; +//LCD_ILI9341 lcd; -#define CON lcd +#define CON Serial bool hasAAC = false; @@ -48,8 +48,8 @@ void processACC() void setup() { - //CON.begin(38400); - lcd.begin(); + CON.begin(115200); + //lcd.begin(); CON.println("OBD TESTER"); @@ -99,7 +99,7 @@ void loop() { int value; - lcd.setCursor(0, 8); + //lcd.setCursor(0, 8); CON.print('['); CON.print(millis()); |