From b7159aa6a6e2a05be7edc62e48e3e22547213acb Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Thu, 16 Jan 2014 00:05:07 +1100 Subject: Update test sketch for OBD-II I2C Adapter --- samples/test_obd_i2c/test_obd_i2c.ino | 12 ++++++------ 1 file 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 #include #include -#include +//#include -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()); -- cgit v1.2.3