mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
n2k engine pgns, untested
This commit is contained in:
@@ -51,6 +51,9 @@ GwXDRType *types[] = {
|
||||
new GwXDRType(GwXDRType::VOLPERCENT, "V", "P"),
|
||||
new GwXDRType(GwXDRType::VOLUME, "V", "M", m3ToL, ltrTom3),
|
||||
new GwXDRType(GwXDRType::FLOW, "R", "I", ps2ph, ph2ps),
|
||||
new GwXDRType(GwXDRType::GENERIC, "G", ""),
|
||||
new GwXDRType(GwXDRType::DISPLACEMENT, "A", "P"),
|
||||
new GwXDRType(GwXDRType::RPM,"T","R"),
|
||||
//important to have 2x NULL!
|
||||
NULL,
|
||||
NULL};
|
||||
|
||||
@@ -33,6 +33,9 @@ class GwXDRType{
|
||||
VOLPERCENT=6,
|
||||
VOLUME=7,
|
||||
FLOW=8,
|
||||
GENERIC=9,
|
||||
DISPLACEMENT=10,
|
||||
RPM=11,
|
||||
UNKNOWN=99
|
||||
}TypeCode;
|
||||
typedef double (* convert)(double);
|
||||
|
||||
Reference in New Issue
Block a user