Update TFT_eSPI to v2.5.43
This commit is contained in:
@@ -153,7 +153,7 @@ void drawUpdate (bool sel) {
|
||||
}
|
||||
|
||||
// #########################################################################
|
||||
// Return a 16 bit rainbow colour
|
||||
// Return a 16-bit rainbow colour
|
||||
// #########################################################################
|
||||
uint16_t rainbow(byte value)
|
||||
{
|
||||
@@ -163,7 +163,7 @@ uint16_t rainbow(byte value)
|
||||
|
||||
value = value % 192;
|
||||
|
||||
byte red = 0; // Red is the top 5 bits of a 16 bit colour value
|
||||
byte red = 0; // Red is the top 5 bits of a 16-bit colour value
|
||||
byte green = 0; // Green is the middle 6 bits, but only top 5 bits used here
|
||||
byte blue = 0; // Blue is the bottom 5 bits
|
||||
|
||||
|
||||
Reference in New Issue
Block a user