ciao, stavo provando il tuo sketch,
ma non so, pè qualche bug?
mi da questo errore:
C:\Users\gianm\Desktop\can\can.ino: In function 'void handleOBD2(void*)':
C:\Users\gianm\Desktop\can\can.ino:97:38: error: base operand of '->' has non-pointer type 'OBD2BroadcastPacket'
97 | oilPressure = (float)((bp.Byte0 & 0b00000001) << 7 | ((bp.Byte1 >> 1) & 0b01111111))/10.0;
| ^~
C:\Users\gianm\Desktop\can\can.ino:97:71: error: base operand of '->' has non-pointer type 'OBD2BroadcastPacket'
97 | oilPressure = (float)((bp.Byte0 & 0b00000001) << 7 | ((bp.Byte1 >> 1) & 0b01111111))/10.0;
| ^~
exit status 1
Compilation error: base operand of '->' has non-pointer type 'OBD2BroadcastPacket'