Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: UniGraphic mbed
ODBII.h
00001 #ifndef ODBII_H 00002 #define ODBII_H 00003 00004 #include "mbed.h" 00005 //Can Speed 00006 #define CANSPEED_125 125000 00007 #define CANSPEED_250 250000 00008 #define CANSPEED_500 500000 00009 //These are used to define the different PID codes as well as other codes 00010 #define ENGINE_COOLANT_TEMP 0x05 00011 #define ENGINE_RPM 0x0C 00012 #define VEHICLE_SPEED 0x0D 00013 00014 00015 #define PID_REQUEST 0x7DF 00016 #define PID_REPLY 0x7E8 00017 //the two functions 00018 float request(char pid); 00019 void set_frequency(int amount); 00020 00021 #endif
Generated on Wed Jul 13 2022 02:22:22 by
1.7.2