5 changed files with 114 additions and 1 deletions
-
3.gitmodules
-
84APP/service/light_control_service.c
-
25APP/service/light_control_service.h
-
2CMSIS
-
1dep/zsimple_timer
@ -0,0 +1,25 @@ |
|||
#pragma once |
|||
// |
|||
#include <stdbool.h> |
|||
#include <stdint.h> |
|||
|
|||
typedef enum { |
|||
kworkPage, |
|||
kerrorPage, |
|||
} Page_t; |
|||
|
|||
void lcs_change_page(Page_t page); |
|||
|
|||
/*********************************************************************************************************************** |
|||
* =====================================================workPage====================================================== * |
|||
***********************************************************************************************************************/ |
|||
void lcs_count_donwload_light__set_one_light_time_min(int min) {} |
|||
void lcs_count_donwload_light__set_count_num(int num); |
|||
void lcs_count_donwload_light__trigger_flash(int lastfortime, bool retrigger); |
|||
void lcs_status_light__set_color(bool r, bool g, bool b); |
|||
|
|||
/*********************************************************************************************************************** |
|||
* =====================================================ErrorPage===================================================== * |
|||
***********************************************************************************************************************/ |
|||
void lcs_error_light__set_error(int errorNum); |
|||
void lcs_error_light__clear_error(int errorNum); |
@ -1 +1 @@ |
|||
Subproject commit ebdb7afd574de627a718687547e86185a8a4f365 |
|||
Subproject commit 97fbccc0525041fe1ccfb714cfca2548495cc3a6 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue