Skip to content

bitRead and bitWrite documentation ambiguity #924

Closed
@mjbmikeb2

Description

@mjbmikeb2

bitRead says "Reads a bit of a number."
Is that all signed and unsigned numbers of any size?

bitWrite says, "Writes a bit of a numeric variable"
Again, is that all signed and unsigned numbers of any size?

According to this thread
https://forum.arduino.cc/t/bitread-and-bitwrite-for-numbers-bigger-than-a-byte/1160471
bitWrite doesn't work for 64 bit numbers.

I don't know if this is a bug or a feature. Either way can the documentation please be updated to say what datatypes are currently supported.

Thanks.

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