exchange red&blue led

This commit is contained in:
Yunlong Xiao 2022-06-24 23:43:07 +08:00
parent d190cda1d9
commit d766d60922
1 changed files with 71 additions and 71 deletions

View File

@ -5,7 +5,7 @@ struct led_avsux_pattern bootup_patterns[] = {
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xFF}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xFF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
@ -13,183 +13,183 @@ struct led_avsux_pattern bootup_patterns[] = {
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xEF}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xEF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xDF}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xDF, 0x00, 0x00},
{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xCF}, {0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xCF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00} {0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xBF}, {0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xBF, 0x00, 0x00},
{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0xAF}, {0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0xAF, 0x00, 0x00},
{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x9F}, {0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x9F, 0x00, 0x00},
{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x8F}, {0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x8F, 0x00, 0x00},
{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00} {0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00},{0x00, 0x00, 0x7F}, {0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},{0x7F, 0x00, 0x00},
{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x00}, {0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00} {0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF},{0x00, 0x00, 0x6F}, {0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},{0x6F, 0x00, 0x00},
{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x00}, {0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00} {0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF},{0x00, 0x00, 0x5F}, {0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},{0x5F, 0x00, 0x00},
{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x00}, {0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF} {0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00}
},
},
{
.duration = 50,
.colors =
{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},{0x4F, 0x00, 0x00},
{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},
{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF},{0x00, 0x00, 0x4F}, {0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},{0xFF, 0x00, 0x00},
{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF}, {0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},
{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF} {0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xEF, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF},{0x00, 0x00, 0xFF}, {0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},{0xEF, 0x00, 0x00},
{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF}, {0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},
{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF} {0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF},{0x00, 0x00, 0xEF}, {0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},{0xDF, 0x00, 0x00},
{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF}, {0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF} {0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF},{0x00, 0x00, 0xDF}, {0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},{0xCF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF}, {0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF} {0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F},{0x00, 0x00, 0xCF}, {0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},{0xBF, 0x00, 0xBF},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF}, {0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0xAF},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x9F}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F},{0x00, 0x00, 0xBF}, {0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},{0xAF, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F},{0x00, 0x00, 0xAF}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},{0x9F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F},{0x00, 0x00, 0x9F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},{0x8F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},{0x00, 0x00, 0x8F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},{0x7F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},{0x00, 0x00, 0x7F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x6F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x6F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x5F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F}
},
},
{
.duration = 50,
.colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x5F},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },
}, },
{ {
.duration = 50, .duration = 50,
.colors = { .colors = {
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x4F}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x4F, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}, {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},
{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00} {0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00},{0x00, 0x00, 0x00}
}, },