File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 15
15
16
16
#include "Arduino.h"
17
17
18
- #define WHITE_DEFAULT_RED 444
19
- #define WHITE_DEFAULT_GREEN 342
20
- #define WHITE_DEFAULT_BLUE 345
21
- #define BLACK_DEFAULT_RED 153
22
- #define BLACK_DEFAULT_GREEN 135
23
- #define BLACK_DEFAULT_BLUE 123
18
+ #define WHITE_DEFAULT_RED 450
19
+ #define WHITE_DEFAULT_GREEN 500
20
+ #define WHITE_DEFAULT_BLUE 510
21
+ #define BLACK_DEFAULT_RED 160
22
+ #define BLACK_DEFAULT_GREEN 200
23
+ #define BLACK_DEFAULT_BLUE 190
24
24
//int16_t WHITE_CAL[3] = {444, 342, 345};
25
25
//int16_t BLACK_CAL[3] = {153, 135, 123};
26
26
27
+
27
28
#define WHITE_OFFSET 0
28
29
#define BLACK_OFFSET 6
29
30
#define COLOR_SIZE 20
41
42
#define LIGHT_GREEN_MAX 140
42
43
#define GREEN_MAX 170
43
44
#define LIGHT_BLUE_MAX 210
44
- #define BLUE_MAX 260
45
+ #define BLUE_MAX 250
45
46
#define VIOLET_MAX 280
46
47
#define BROWN_MAX_VALUE 0.5
47
48
#define BROWN_MAX_SATURATION 0.45
You can’t perform that action at this time.
0 commit comments