Open maxlein opened 3 years ago
When I start a server with this config, and read registers out like that:
Modbus::Data<float, Modbus::EndianBigLittle> values[4]; // is cdab order if (slave->readRegisters (1, values, 4) > 0) ...
Then I get wrong data. Only if I use EndianLittleBig, I get correct results.
EndianLittleBig
When I start a server with this config, and read registers out like that:
Then I get wrong data.
Only if I use
EndianLittleBig
, I get correct results.