“ColorLED预定义颜色”的版本间的差异
1196357542(讨论 | 贡献) (创建页面,内容为“ #define COLOR_NONE 0X000000 #define COLOR_RED 0XFF0000 #define COLOR_ORANGE 0XFF6100 #define COLOR_YELLOW 0XFFFF00 #define COLOR_GREEN 0X00FF00...”) |
1196357542(讨论 | 贡献) |
||
第1行: | 第1行: | ||
#define COLOR_NONE 0X000000 | #define COLOR_NONE 0X000000 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_NONE:无颜色<br> | ||
+ | |||
+ | |||
+ | #define COLOR_BLACK 0X000000 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_BLACK :黑色,即无颜色<br> | ||
+ | |||
+ | |||
+ | #define COLOR_WHITE 0XFFFFFF | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_WHITE :白色<br> | ||
+ | |||
#define COLOR_RED 0XFF0000 | #define COLOR_RED 0XFF0000 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_RED :红色<br> | ||
+ | |||
#define COLOR_ORANGE 0XFF6100 | #define COLOR_ORANGE 0XFF6100 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_ORANGE :橙色<br> | ||
+ | |||
#define COLOR_YELLOW 0XFFFF00 | #define COLOR_YELLOW 0XFFFF00 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_YELLOW :黄色<br> | ||
+ | |||
#define COLOR_GREEN 0X00FF00 | #define COLOR_GREEN 0X00FF00 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_GREEN :绿色<br> | ||
+ | |||
+ | |||
+ | #define COLOR_CYAN 0X00FFFF | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_CYAN :青色<br> | ||
− | |||
#define COLOR_BLUE 0X0000FF | #define COLOR_BLUE 0X0000FF | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_BLUE :蓝色<br> | ||
+ | |||
+ | |||
+ | #define COLOR_PURPLE 0XFF00FF | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_PURPLE :紫色<br> | ||
+ | |||
+ | |||
+ | #define COLOR_INDIGO 0X4B0082 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_INDIGO :靛色<br> | ||
+ | |||
− | #define | + | #define COLOR_PINK 0XFFC0CB |
+ | *'''颜色''':<br> | ||
+ | COLOR_PINK :粉色<br> | ||
− | |||
#define COLOR_WARM 0X9B6400 | #define COLOR_WARM 0X9B6400 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_WARM :暖色<br> | ||
+ | |||
#define COLOR_COLD 0X648264 | #define COLOR_COLD 0X648264 | ||
+ | *'''颜色''':<br> | ||
+ | COLOR_COLD :冷色<br> | ||
+ | |||
[[https://wiki.microduino.cn/index.php/Sensor-Color_LED_Reference 返回Color_LED_Reference页面]] | [[https://wiki.microduino.cn/index.php/Sensor-Color_LED_Reference 返回Color_LED_Reference页面]] |
2017年7月4日 (二) 08:10的版本
#define COLOR_NONE 0X000000
- 颜色:
COLOR_NONE:无颜色
#define COLOR_BLACK 0X000000
- 颜色:
COLOR_BLACK :黑色,即无颜色
#define COLOR_WHITE 0XFFFFFF
- 颜色:
COLOR_WHITE :白色
#define COLOR_RED 0XFF0000
- 颜色:
COLOR_RED :红色
#define COLOR_ORANGE 0XFF6100
- 颜色:
COLOR_ORANGE :橙色
#define COLOR_YELLOW 0XFFFF00
- 颜色:
COLOR_YELLOW :黄色
#define COLOR_GREEN 0X00FF00
- 颜色:
COLOR_GREEN :绿色
#define COLOR_CYAN 0X00FFFF
- 颜色:
COLOR_CYAN :青色
#define COLOR_BLUE 0X0000FF
- 颜色:
COLOR_BLUE :蓝色
#define COLOR_PURPLE 0XFF00FF
- 颜色:
COLOR_PURPLE :紫色
#define COLOR_INDIGO 0X4B0082
- 颜色:
COLOR_INDIGO :靛色
#define COLOR_PINK 0XFFC0CB
- 颜色:
COLOR_PINK :粉色
#define COLOR_WARM 0X9B6400
- 颜色:
COLOR_WARM :暖色
#define COLOR_COLD 0X648264
- 颜色:
COLOR_COLD :冷色