I am trying to read an Eastron smart meter with Modbus IEE754
I sent the modbus string to Smartmeter and received the bytes.
But this is the IEE75 with floating point. I found an Arduino code that works well, but I don’t understand it and therefore can’t implement it in processing.
//uint32_t VAL = 0x4368DBD9; //232.86
uint32_t VAL = 0xc3663334; //-230.2
//uint32_t VAL = 0x43663334; //230.2
float X = *(float*) & VAL;
Serial.println(X) ;