Skip to content

I2C 16 bit operations no sign or endian accomodation #13

@pmeloy

Description

@pmeloy

Not really the wrapper's fault I don't think as I couldn't really find 16 bit reads and writes except as purpose written methods in specific devices. Could be wrong, might be a universal one I just can't find (not a C or C++ expert by any means).

So for two or more byte reads I use the ReadReg8() methods and assemble the bytes appropriately.

I haven't had any issues with the WriteReg16 but then I haven't actually used it. Didn't see anything dealing with sign/endian in the intellisense information though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions