Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface 4.3 inch monitor with OBD-II Adapter to Arduino #91

Open
GoogleCodeExporter opened this issue Jun 21, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Have basic code for TVout
2. #include <OBD.h>
3. Monitor stops displaying

What is the expected output? What do you see instead?
I expect to see text on the screen instead the screen does not boot up.

What version of the product are you using? On what operating system?
I am using an Arduino Uno, 4.3" car rear view monitor, and an OBD-II TTL 
Adapter. 

Please provide any additional information below.
The monitor works as expected but as soon as I include the OBD library it stops.

WORKS:
#include <TVout.h>
#include <video_gen.h>
#include <DistanceGP2Y0A21YK.h>
#include <Wire.h>
#include <LiquidCrystal.h>
#include <fontALL.h>
//#include <OBD.h>

//COBD obd;
TVout TV;

void setup()
{
TV.begin(0);                            //128x96 resolution
TV.select_font(font4x6);        //Set font size
lcd.createChar(0, FC);          //Creates full bar
Dist.begin(0);              //Start infared sensor
lcd.begin(16,2);            //Start LCD with # of columns and rows
//obd.begin();              //Start OBD-II adapter communication
//while(!obd.init());           //Keep trying till successful connection
pinMode(ButtonT, INPUT);
pinMode(ButtonP, INPUT);
lcd.print("hello");
TV.print("Welcome to MTTS");
}

DOESN'T WORK:
#include <TVout.h>
#include <video_gen.h>
#include <DistanceGP2Y0A21YK.h>
#include <Wire.h>
#include <LiquidCrystal.h>
#include <fontALL.h>
#include <OBD.h>

COBD obd;
TVout TV;

void setup()
{
TV.begin(0);                            //128x96 resolution
TV.select_font(font4x6);        //Set font size
lcd.createChar(0, FC);          //Creates full bar
Dist.begin(0);              //Start infared sensor
lcd.begin(16,2);            //Start LCD with # of columns and rows
//obd.begin();              //Start OBD-II adapter communication
//while(!obd.init());           //Keep trying till successful connection
pinMode(ButtonT, INPUT);
pinMode(ButtonP, INPUT);
lcd.print("hello");
TV.print("Welcome to MTTS");
}

Original issue reported on code.google.com by [email protected] on 1 Apr 2015 at 3:03

@GoogleCodeExporter
Copy link
Author

Yes, the same problem, I need help!

Original comment by [email protected] on 7 May 2015 at 12:20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant