You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.2 KiB

3 years ago
  1. #pragma once
  2. //
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. typedef enum {
  6. kworkPage,
  7. kerrorPage,
  8. } Page_t;
  9. void lcs_change_page(Page_t page);
  10. /***********************************************************************************************************************
  11. * =====================================================workPage====================================================== *
  12. ***********************************************************************************************************************/
  13. void lcs_count_donwload_light__set_one_light_time_min(int min) {}
  14. void lcs_count_donwload_light__set_count_num(int num);
  15. void lcs_count_donwload_light__trigger_flash(int lastfortime, bool retrigger);
  16. void lcs_status_light__set_color(bool r, bool g, bool b);
  17. /***********************************************************************************************************************
  18. * =====================================================ErrorPage===================================================== *
  19. ***********************************************************************************************************************/
  20. void lcs_error_light__set_error(int errorNum);
  21. void lcs_error_light__clear_error(int errorNum);