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.
 
 
 

33 lines
624 B

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "lwip/opt.h"
#include "lwip/sys.h"
#include "lwip/api.h"
#include "main.h"
#include "zport.h"
#include "zboard.h"
#include "encoder.h"
#include "udpclient.h"
#include "zflash.h"
#include "config.h"
void user_main()
{
printf("==============ethernet_sound_acquisition_card=============\r\n");
printf("version %d.%d", VERSION_MAIN_ID, VERSION_SUB_ID);
encoder_start();
udp_client_init();
config_init();
while (1)
{
udp_client_recv();
encoder_read_printf();
port_do_debug_light_state();
osDelay(1);
}
}