summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2019-08-27 10:06:14 -0700
committerGitHub <noreply@github.com>2019-08-27 10:06:14 -0700
commit42956a62a3f6fb60ca37f669dce5cf865a1bed5f (patch)
tree2c2152d7822eb7088d0b626743f7d9577bdae004 /supervisor/shared
parent1d973a08038148ce20aaa43863721df6328318b7 (diff)
parentbea77c651afd919e6cb87927341714adbddb939c (diff)
Merge pull request #2085 from tannewt/epd
Rework display refresh, add M4SK and add ePaper support
Diffstat (limited to 'supervisor/shared')
-rw-r--r--supervisor/shared/display.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/supervisor/shared/display.c b/supervisor/shared/display.c
index fd51e2c07..586b6f8be 100644
--- a/supervisor/shared/display.c
+++ b/supervisor/shared/display.c
@@ -151,37 +151,49 @@ _displayio_color_t blinka_colors[7] = {
.rgb888 = 0x000000,
.rgb565 = 0x0000,
.luma = 0x00,
+ .chroma = 0,
.transparent = true
},
{
.rgb888 = 0x8428bc,
.rgb565 = 0x7889,
- .luma = 0xff // We cheat the luma here. It is actually 0x60
+ .luma = 0xff, // We cheat the luma here. It is actually 0x60
+ .hue = 184,
+ .chroma = 148
},
{
.rgb888 = 0xff89bc,
.rgb565 = 0xB8FC,
- .luma = 0xb5
+ .luma = 0xb5,
+ .hue = 222,
+ .chroma = 118
},
{
.rgb888 = 0x7beffe,
.rgb565 = 0x9F86,
- .luma = 0xe0
+ .luma = 0xe0,
+ .hue = 124,
+ .chroma = 131
},
{
.rgb888 = 0x51395f,
.rgb565 = 0x0D5A,
- .luma = 0x47
+ .luma = 0x47,
+ .hue = 185,
+ .chroma = 38
},
{
.rgb888 = 0xffffff,
.rgb565 = 0xffff,
- .luma = 0xff
+ .luma = 0xff,
+ .chroma = 0
},
{
.rgb888 = 0x0736a0,
.rgb565 = 0xf501,
- .luma = 0x44
+ .luma = 0x44,
+ .hue = 147,
+ .chroma = 153
},
};