. . 各种颜色 RGB 值 ■RGB(255,192,203)■★●◆pink(粉红) ■RGB(220,20,60)■★●◆crimson(腥红) ■RGB(255,240,245)■★●◆ lavenderblush (苍白的紫罗兰红) ■RGB(219,112,147)■★●◆palevioletred (脸红的淡紫红) ■RGB(255,105,180)■★●◆hotpink(热情的粉红) ■RGB(199,21,133)■★●◆mediumvioletred (适中的紫罗兰红) ■RGB(218,112,214)■★●◆orchid(兰花紫) ■RGB(216,191,216)■★●◆ thistle(苍紫) ■RGB(221,160,221)■★●◆plum(轻紫) ■RGB(238,130,238)■★●◆violet(紫罗兰) ■RGB(255,0,255)■★●◆m
#define int8 char #define int16 int #define int32 long int #define uint8 unsigned char #define uint16 unsigned int #define uint32 unsigned long int #ifndef __AVR_RGB_LED_H__ #define __AVR_RGB_LED_H__ #define R_MAX 255 #define G_MAX 255 #define B_MAX 255 uint8 MoudleAmount=2; #define SCL_SDA_OUT ( DDRD|=(1<<0)|(1<<1) ) #define SCL_SDA_HIGH ( PORTD |=(1<<0)|(1<<1)