X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=pattern.c;h=64d8640fed70a871442be8e4386d2a741e3c7b9e;hp=363868610dfc8f3487c15ce694c5c76f60f943ad;hb=aa9fba4f95f90d29d33ea8f30412ae951253b909;hpb=243ecacbd6e12a329b29b19cc37200829ac17276 diff --git a/pattern.c b/pattern.c index 3638686..64d8640 100644 --- a/pattern.c +++ b/pattern.c @@ -154,3 +154,7 @@ void patterns_next_tick() } } +void led_set_status(unsigned char status) +{ + led_set_pattern(N_PWMLEDS+1, number_pattern(status)); +}