17 lines
291 B
C
17 lines
291 B
C
#include "user_main.h"
|
|
|
|
void user_setup()
|
|
{
|
|
flash_fpga();
|
|
// ethernet_init();
|
|
HAL_TIM_Base_Start_IT(&htim4);
|
|
HAL_TIM_Base_Start(&htim3);
|
|
eem_power_init();
|
|
uint8_t str[10] = "test";
|
|
HAL_UART_Transmit(&huart4, str, 5, 100);
|
|
}
|
|
|
|
void user_loop()
|
|
{
|
|
key_events();
|
|
} |