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: Adafruit_GFX MODSERIAL mbed-rtos mbed
Diff: OilTemperature.cpp
- Revision:
- 6:506b703a8acf
- Parent:
- 5:0b229ba8ede5
--- a/OilTemperature.cpp Sun Apr 27 19:13:35 2014 +0000
+++ b/OilTemperature.cpp Thu May 01 09:29:29 2014 +0000
@@ -1,8 +1,10 @@
#include "OilTemperature.h"
+const char OilTemperature::REQUEST_DATA[8] = {0x02, 0x21, 0x01, 0, 0, 0, 0, 0};
+const char OilTemperature::SECOND_MESSAGE[8] = {0x30, 0, 0, 0, 0, 0, 0, 0};
OilTemperature::OilTemperature()
-: PidValue("Oil Temperature", "deg C")
+: PidValue("Oil Temp", "C")
{
}