feat: 增加LED状态指示

This commit is contained in:
2024-01-31 17:43:48 +08:00
parent 64e95d278c
commit bd9ea4b09e
6 changed files with 42 additions and 49 deletions

View File

@@ -25,6 +25,7 @@
#include "./page/page.h"
#include "jj_param.h"
#include "by_buzzer.h"
#include "by_led.h"
int main(void)
{
@@ -34,8 +35,11 @@ int main(void)
// mt9v03x_init();
ips200_init(IPS200_TYPE_SPI);
usb_cdc_init();
by_led_init();
by_buzzer_init();
by_button_init();
// while (imu660ra_init())
// ;
// jj_param_eeprom_init();
@@ -51,7 +55,7 @@ int main(void)
// adaptiveThreshold((uint8_t*)mt9v03x_image_copy, (uint8_t*)mt9v03x_image_copy, 188, 120, 7, 17);
// ips200_show_gray_image(0, 0, mt9v03x_image_copy[0], MT9V03X_W, MT9V03X_H, MT9V03X_W, MT9V03X_H, 0);
mt9v03x_finish_flag = 0;
by_led_info_blink();
state_type = COMMON_STATE;
img_processing();
get_corners();