Lijmer / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 Relot...@gmail.com on 1 Apr 2015 at 3:03

GoogleCodeExporter commented 8 years ago
Yes, the same problem, I need help!

Original comment by ds6...@gmail.com on 7 May 2015 at 12:20