Hi!
I'm trying to understand the 0xXXXX color values that are used in this library but not having a lot of luck searching for what I specifically am trying to do.
As a very simple example: I want to have a black screen that transitions through all available shades of grey up to pure white. How would one go about writing the code to do this? I'm familiar with how to write the loop to increment the color value and all of the basic stuff. Just trying to figure out how to increment the hex color value to produce ONLY shades of gray, from black to white.
Thanks!
-Ash
I'm trying to understand the 0xXXXX color values that are used in this library but not having a lot of luck searching for what I specifically am trying to do.
As a very simple example: I want to have a black screen that transitions through all available shades of grey up to pure white. How would one go about writing the code to do this? I'm familiar with how to write the loop to increment the color value and all of the basic stuff. Just trying to figure out how to increment the hex color value to produce ONLY shades of gray, from black to white.
Thanks!
-Ash