for led strip
Revision 1:b90027de2bdb, committed 2018-06-13
- Comitter:
- xuweiqian9999
- Date:
- Wed Jun 13 01:47:37 2018 +0000
- Parent:
- 0:da91c8ed4a98
- Commit message:
- working
Changed in this revision
motion_tracking.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r da91c8ed4a98 -r b90027de2bdb motion_tracking.cpp --- a/motion_tracking.cpp Mon Jun 11 20:33:26 2018 +0000 +++ b/motion_tracking.cpp Wed Jun 13 01:47:37 2018 +0000 @@ -310,23 +310,23 @@ } void initialize_color_table(RGB rgb_table[][HORIZONTALNUMCOLOR]){ - rgb_table[0][0] = (RGB){255, 77, 210}; - rgb_table[0][1] = (RGB){255, 77, 77}; - rgb_table[0][2] = (RGB){255, 179, 102}; - rgb_table[0][3] = (RGB){133, 224, 133}; - rgb_table[0][4] = (RGB){77, 121, 255}; + rgb_table[0][0] = (RGB){4, 77, 210}; + rgb_table[0][1] = (RGB){5, 77, 77}; + rgb_table[0][2] = (RGB){6, 179, 102}; + rgb_table[0][3] = (RGB){7, 224, 133}; + rgb_table[0][4] = (RGB){8, 121, 255}; - rgb_table[1][0] = (RGB){255, 0, 191}; - rgb_table[1][1] = (RGB){255, 0, 0}; - rgb_table[1][2] = (RGB){255, 128, 0}; - rgb_table[1][3] = (RGB){51, 204, 51}; - rgb_table[1][4] = (RGB){0, 64, 255}; + rgb_table[1][0] = (RGB){9, 0, 191}; + rgb_table[1][1] = (RGB){10, 0, 0}; + rgb_table[1][2] = (RGB){11, 128, 0}; + rgb_table[1][3] = (RGB){12, 204, 51}; + rgb_table[1][4] = (RGB){13, 64, 255}; - rgb_table[2][0] = (RGB){179, 0, 134}; - rgb_table[2][1] = (RGB){179, 0, 0}; - rgb_table[2][2] = (RGB){204, 102, 0}; - rgb_table[2][3] = (RGB){31, 122, 31}; - rgb_table[2][4] = (RGB){0, 45, 179}; + rgb_table[2][0] = (RGB){14, 0, 134}; + rgb_table[2][1] = (RGB){15, 0, 0}; + rgb_table[2][2] = (RGB){16, 102, 0}; + rgb_table[2][3] = (RGB){17, 122, 31}; + rgb_table[2][4] = (RGB){18, 45, 179}; } RGB get_new_color(float *cur_location, RGB rgb_table[][HORIZONTALNUMCOLOR]) {