Subject: | Unable to show trouble codes |
Date: | Sun, 6 Oct 2013 21:13:50 -0700 |
To: | bug-device-elm327 [...] rt.cpan.org |
From: | George R Ahearn <george.ahearn [...] comcast.net> |
The 'Check Engine' lamp on my 2000 Jaguar S Series (6 Cylinders) came on.
I applied my USB-ELM327 device and ran the following code:
#!/usr/bin/perl
use strict;
use warnings;
use Device::ELM327;
# my $obd = Device::ELM327->new("/dev/ttyUSB0", 3);
my $obd = Device::ELM327->new("/dev/ttyUSB0", 1);
# Read status information...
# $obd->ShowReadableValues();
$obd->Show("ELM identity");
$obd->Show("Vehicle Identification Number");
$obd->Show("Engine RPM");
$obd->Show("Ignition state");
$obd->Show("Stored data byte");
$obd->Show("Permanent diagnostic trouble codes");
$obd->Show("Input Voltage");
$obd->ShowTroubleCodes();
undef $obd;
Many of the responses were as expected, however there were no Trouble
codes.
Not satisfied with that I used another OBDII device and learned that codes:
P0171 System too lean Bank1, and
P0174 System too lean Bank 2 were stored.
What might I be doing wrong? Or is this a bug?
Thank you for your consideration of this issue.
george.ahearn@comcast.net