forked from PAWPAW/lib_rgb
修复了示例
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "rgb_effect.h"
|
||||
void test_hsv_to_rgb()
|
||||
{
|
||||
@@ -12,5 +13,5 @@ void test_hsv_to_rgb()
|
||||
|
||||
color = HSV_to_RGB(&hue, &sat, &value);
|
||||
|
||||
printf("GRB color is: 0x%06X\n", color);
|
||||
printf("GRB color is: 0x%06lX\n", color);
|
||||
}
|
||||
Reference in New Issue
Block a user