comlet rework
This commit is contained in:
parent
771f639fa3
commit
b79ebdd39d
4
main.c
4
main.c
@ -52,7 +52,7 @@ int main (void) { // (2)
|
|||||||
|
|
||||||
rgbval pattern[6][PATTERN_COUNT]={ {{0,0,0,100}, {0,0,0,100}, {0,0,0,100}, {0,0,0,100}},
|
rgbval pattern[6][PATTERN_COUNT]={ {{0,0,0,100}, {0,0,0,100}, {0,0,0,100}, {0,0,0,100}},
|
||||||
{{1,1,1,10}, {1,1,153,20}, {200,50,39,10}, {204,255,153,20}},
|
{{1,1,1,10}, {1,1,153,20}, {200,50,39,10}, {204,255,153,20}},
|
||||||
{{1,1,1,10}, {10,255,0,10}, {1,1,255,20}, {1,200,1,20}},
|
{{1,50,50,10}, {10,255,0,10}, {80,200,0,20}, {200,200,1,20}},
|
||||||
{{1,1,5,10}, {1,1,255,10}, {1,1,5,10}, {1,1,255,10}},
|
{{1,1,5,10}, {1,1,255,10}, {1,1,5,10}, {1,1,255,10}},
|
||||||
{{252,102,3,10}, {161,67,47,10}, {118,120,74,10}, {83,120,74,20}},
|
{{252,102,3,10}, {161,67,47,10}, {118,120,74,10}, {83,120,74,20}},
|
||||||
{{87,119,122,10}, {95,87,122,10}, {52, 69, 56,10}, {83, 84, 72,10}}};
|
{{87,119,122,10}, {95,87,122,10}, {52, 69, 56,10}, {83, 84, 72,10}}};
|
||||||
@ -105,7 +105,7 @@ int main (void) { // (2)
|
|||||||
setrgb(0,0,0);
|
setrgb(0,0,0);
|
||||||
pre_delay = ms;
|
pre_delay = ms;
|
||||||
while((ms-pre_delay) < 200);
|
while((ms-pre_delay) < 200);
|
||||||
setrgb(200,0,0);
|
setrgb(0,200,0);
|
||||||
pre_delay = ms;
|
pre_delay = ms;
|
||||||
while((ms-pre_delay) < 200){};
|
while((ms-pre_delay) < 200){};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user