Skip to content

RGB565 have inverted channels for display #141

Description

@dimitre

I've noticed today that display uses wrong colors for RGB565

this is Blue 0b111111 << 10
this is Red 0b11111 << 5
and this is Green 0b11111

Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RGB565 r r r r r g g g g g g b b b b b
Maixduino b b b b b b r r r r r g g g g g

So channels are inverted and bit depth also, the correct order would be RGB with Green with 6 bits instead of blue.
Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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