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.

27 lines
500 B

  1. #include <stdbool.h>
  2. #include <stdint.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include "lwip/opt.h"
  6. #include "lwip/sys.h"
  7. #include "lwip/api.h"
  8. #include "main.h"
  9. #include "zport.h"
  10. #include "zboard.h"
  11. #include "encoder.h"
  12. void user_main()
  13. {
  14. encoder_start();
  15. printf("==============ethernet_sound_acquisition_card=============\r\n");
  16. printf("version %d.%d", VERSION_MAIN_ID, VERSION_SUB_ID);
  17. while (1)
  18. {
  19. encoder_read_printf();
  20. port_do_debug_light_state();
  21. osDelay(1);
  22. }
  23. }