We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://forum.digilentinc.com/topic/18605-pmod-oledrgb-really-oledgrb/
The text was updated successfully, but these errors were encountered:
Hi, is there any update for this issue? I'm still having the same issue as mentioned in the topic (RGB becomes BRG mapping).
Tested with:
Sorry, something went wrong.
Modifying PmodOLEDrgb.c does fixed my problem though:
@@ -1172,7 +1172,7 @@ u16 OLEDrgb_BuildHSV(u8 hue, u8 sat, u8 val) { ** Converts separate RGB values into a 565 RGB value used by the OLEDrgb */ u16 OLEDrgb_BuildRGB(u8 R, u8 G, u8 B) { - return ((R >> 3) << 11) | ((G >> 2) << 5) | (B >> 3); + return ((B >> 3) << 11) | ((R >> 2) << 5) | (G >> 3); }
No branches or pull requests
https://forum.digilentinc.com/topic/18605-pmod-oledrgb-really-oledgrb/
The text was updated successfully, but these errors were encountered: