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
PidValue.h
00001 #ifndef PIDVALUE_H 00002 #define PIDVALUE_H 00003 00004 #include <stdint.h> 00005 00006 class PidValue 00007 { 00008 public: 00009 PidValue(const char* name, const char* unit); 00010 virtual bool decode(const uint8_t* data, uint16_t length) = 0; 00011 void print(); 00012 const char* getName(); 00013 const char* getUnit(); 00014 unsigned int getValue(); 00015 protected: 00016 unsigned int m_value; 00017 const char* m_unit; 00018 const char* m_name; 00019 }; 00020 00021 #endif //PIDVALUE_H
Generated on Tue Jul 12 2022 21:25:01 by
1.7.2