feat: 增加 vofa 打印到上位机功能
This commit is contained in:
@@ -231,7 +231,7 @@ uint16_t rgb_gradient(uint16_t i)
|
||||
r_h = (uint8_t)r;
|
||||
g_h = (uint8_t)g;
|
||||
b_h = (uint8_t)b;
|
||||
printf("%d - r:%d, g:%d, b:%d\r\n", i, r_h, g_h, b_h);
|
||||
// printf("%d - r:%d, g:%d, b:%d\r\n", i, r_h, g_h, b_h);
|
||||
color |= (r_h & 0x1F) << 11;
|
||||
color |= (g_h & 0x3F) << 5;
|
||||
color |= (b_h & 0x1F);
|
||||
|
||||
Reference in New Issue
Block a user