Skip to content

get float 32 from register #25

@Fluxanode

Description

@Fluxanode

What is the typical usage for

float modbusMaster::float32FromRegister(byte regType, int regNum, endianness endian)
 {
     getRegisters(regType, regNum, FLOAT32_SIZE/2);
     return float32FromFrame(endian);
 } 

can i call it by: reg1 = modbus.float32FromRegister(0x04, 0x01, bigEndian);?
or do i need to include the rest of the function between the {}?
I'm just a nube learning arduino...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions