DTC codes aren't P0xxx.

Inquiry and support for Arduino OBD-II Adapter
Posts: 87
Joined: Wed Oct 14, 2015 9:17 am

DTC codes aren't P0xxx.

Postby protomor » Mon Feb 20, 2017 6:50 am

So the code I have to consume Stanley's DTC read is:
unsigned int numberofcodes = obd.getDTCCount();

if (numberofcodes > 0)
uint16_t codes[8];
byte dtcCount = obd.readDTC(codes, numberofcodes);
if (dtcCount == 0) {
lcd.println("No DTC");
for (byte i = 0; i < numberofcodes; i++)

But I get 20484 and 16896 instead of the P codes. How do I convert this into one of the P codes?

Posts: 87
Joined: Wed Oct 14, 2015 9:17 am

Re: DTC codes aren't P0xxx.

Postby protomor » Sat Feb 25, 2017 12:28 pm

Staaaaaanleeeeeeeey HAAALP!

Site Admin
Posts: 537
Joined: Sat Mar 01, 2014 3:15 am

Re: DTC codes aren't P0xxx.

Postby stanley » Wed Mar 15, 2017 11:54 am

Convert it to HEX.

Serial.println(code[i], HEX);

There is no P as all readable codes are for P (powertrain).

Posts: 87
Joined: Wed Oct 14, 2015 9:17 am

Re: DTC codes aren't P0xxx.

Postby protomor » Wed Mar 15, 2017 10:13 pm

I thought I tried that but I'll give it another go.

Posts: 37
Joined: Thu May 25, 2017 4:18 pm

Re: DTC codes aren't P0xxx.

Postby DurhamCarpet » Thu May 25, 2017 4:24 pm

http://www.financemake.com Think you're creative and luxuriate in working by using photos? Begin a current photo album if anyone is to love and show to their young families. What you can use is offer to build up most of the photos plus lay these folks out to a uniquely fashioned photo e book, one that is definitely professionally paper.
http://www.financeread.com If you aren't spending your Valentine's day weekend with special someone, maybe you may snuggle up with the finances and ultimately get these folks in performing order. Although you're paying out Valentine's saturday doing a little something romantic, get all these books to read simple things on your rainy working day or a further time.
http://www.financethought.com Your thoughts on Finance is undoubtedly an article this explores thoughts that will actually, could or is considered if perhaps more appeared to be known for the function with finance. The connection, if every, between a finance with corporation as well as finance of individuals is viewed as.
http://www.financevariable.com As premiums on variable-rate loans are commencing to swell, many Americans find the right way to defer built of reckoning. They have started variable-rate mortgages a lot to afford real estate as selling prices escalate.
http://www.fixyourautos.com Will a bailout generate our insurance, life insurance cover, health insurance cover and headline insurance harmless enough for many people to get to sleep easier at nighttime. Here is my estimation on the key reason why the bailout appeared to be needed.
http://www.futurebeyondtechnology.com Even in the modern less as compared with stellar global financial environment, institution grads, if they can be smart and would like to think above their partying tactics, can present themselves an edge by believing ahead, between all of the parties plus games.
http://www.futuristicjobs.com What would it take being a top-notched futurist? Perfectly, there definitely is quite a positive change of opinion in regards to this concern. Not some time past, a lady who'd provided our nation while in the armed problems and later found myself in the housing building area asked people this concern.
http://www.greatseomarketing.com Online promotion is the right way to reach out to the wider shopper base, the right way to get your enterprise the accolades as well as visibility them deserves and the right way to earn all of the profits you may possibly not currently have ever desired, if that you were stuck being profitable only in actuality.
http://www.healthayrveda.com In a far isolated past while in the majestic Himalayas, the scientific research of Ayrveda began long evolution over the course of 5, 000 ages. A synergistic procedure which offers science, religious beliefs and doctrine, Ayurvedic treatment was in the beginning practiced by prophets named rishis. Know more about ayurvedic treatment here.
http://www.healthosteopathy.com Osteopathy is a fastest escalating health profession in the states, Canada & The eu. It is chosen among the top 26 occupations purchased by CIBC. It is the perfect career choice with regard to interested around becomming a medical physician.
http://www.healthtraditional.com Are you fed up of giving the same kind of gifts regularly? Everyone includes purchased plus received a number of baskets with shower gelatinized and treatment and a good number of small planting containers of flowers progressively. Eventually, everyone reaches the effort where selecting to just give different things.
http://www.helpmarketseo.com Marketing WEBSITE POSITIONING solutions will be powerful plus effective tools that should greatly increase your web presence by way of generating level of quality traffic to your site. This is going to skyrockets your search engine results, which ultimately triggers making some huge cash using online.
http://www.homeexclusively.com Find outside why a lot of home buyers employ a Realtor to obtain their dwelling, and will be glad people did! Exclusive prospective buyers agents give home buyers most abundant in protection attainable, plus have experience that can assist you find the ideal home, and negotiation the perfect price plus terms.
http://www.improveautos.com In modern soft financial state and having applied the worst years around, auto dealers feel the need closely during opportunities to get enhanced plus improved gain. Generally viewed as a "necessary evil", the meals department is already being considered a method of obtaining new gross margin plus profit.
http://www.initialparenting.com Parents could be the key so that you can success. Programs began to initiate mom or dad weekends, parent seminars and various ways so that you can pull a parents on the healing approach. This encourages a very healthy view that these are relatives problems not just a child's challenge.
http://www.insurancedeadlines.com If you are unable to make a choice before them closes, "You sleep, you lose". You need to wait through to the next amenable enrollment period to purchase a system. Oh put it off... You need to pay your tax penalty in addition. Whoa!
http://www.insuranceextention.com There are lots of health insurance policies companies developing these days that you may be sure that you receive an insurance that should fit for yourself and upon premiums you wish and this too at a reasonably priced price.
http://www.insuranceinevitable.com A term insurance of life assurance products is simply to offer you life coverage while in the period you have opted as the concept of a of that one plan. When this term is finished, it's a person's wish if you ever continue, that you may, or leave the project.
http://www.insurancesuperhub.com If you will be sitting involved with the spider web, with lines going outward plugged into the alternative line, and any time someone you will be connected to have a connection for yourself, you tends to make the vibration from that track. What really is happening is that every person you will be connected so that you can is the center of a website of his personal.
http://www.lawbasis.com To particular date, traditional foreign law would not consider individuals environmental rights to the clean plus healthy environment being a jus cogens individuals right. Jus cogens ("compelling law") is the word for preemptory legalised principles plus norms that happen to be binding for all foreign States, despite their come to an agreement.
http://www.lawdecree.com Whenever you are searching to go into a business (would not matter whether it's an internet or in the real world venture), it's continually good to get hold of legal industry experts or area governing bodies to receive an understanding of regulations that is going to affect your enterprise.
http://www.lawyersdemand.com Bankruptcy is rather a really serious matter and nothing at all is worse to have individual or perhaps corporation than required to seek bankruptcy relief. It make a difference in many people today and mess up their employment and everyday life and rendering them wholly helpless.
http://www.lawyersselection.com The damage may perhaps be by using physical pain, monetary great loss or by using psychological benefits. In legalised language, we use a term car accident for all the three elements. Personal injury is often physical, psychological plus monetary or they all in design.
http://www.livetelecastnews.com A looking at live basketball event for TV is undoubtedly an enjoyable practical experience for basketball fans. By cable plus satellite reoccuring, live telecast with soccer tournaments is often watched for TV. Ordinary people might also have the opportunity to watch the favourite sport we know of through their tv.
http://www.myhomedevelopment.com When purchasing a community to produce your innovative home usually there are some key problems to ask the fresh home construtor before coming to a decision whether you should build in the community and also not. Read the next few paragraphs to understand what all those key problems are.
http://www.newsrepeats.com In the last posting we discussed excellent and media channels, and the way you might learn what underlying message they can be giving us utilizing something labeled Narrative Theological Biblical criticism.
http://www.overseebusiness.com It is definitely all too effortless take a roof over your enterprise for approved, and its something that almost all people pretty rarely take into account during the time of day. It is often there; there's every chance that that it was there so that you can started working in your company, and it will most likely be there long after you've moved up on another occupation.
http://www.parentinggood.com Learn ways to influence your kid's behavior without the need of them being aware of it. Developing small children with great self-esteem plus confidence necessitates these 5 insider secrets that tell you how enable them succeed at everyday living. Give these folks the edge you have to succeed and they're going to have the ability needed to quickly attain their wishes.
http://www.petsrights.com Fleas plus ticks : there's is very much no end recommended to their recurrence. Fortunately there's a healthy way to regulate this, by using Frontline And also. Here's your concise direct on Frontline And also and how it may get your pet dog.
http://www.powerfulsport.com This posting explains the everyday misconception the fact that sport with Powerlifting is actually a Power sport employing fact is a complete opposing. It is actually a strength sport activity. This posting will demonstrate the difference regarding the two styles and tell you how either are great tools for well versed in not just simply powerlifting nonetheless all physical activities.

Return to “OBD-II Adapter for Arduino”

Who is online

Users browsing this forum: No registered users and 2 guests