完成莫尔斯电码功能

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2022-03-06 16:00:38 +08:00
parent 88344b12bd
commit 72fbaa0e23
32 changed files with 19537 additions and 15988 deletions
+8
View File
@@ -10,7 +10,9 @@
#include "touch.h"
#include "eeprom.h"
#include "key.h"
#include "buzzer.h"
extern TIM_HandleTypeDef htim4;
extern touch_device t0;
task run_loop;//主循环状态机
@@ -20,6 +22,9 @@ task run_loop;//
void main_app()
{
HAL_TIM_PWM_Start(&htim4,TIM_CHANNEL_3);//启动n通道的pwm
char str[64];
LCDx_Init();
EPPROM_SLOWWRITE_INIT();
@@ -46,6 +51,8 @@ void main_app()
ui->refresh_ui_flag=1;
//add_a_note(1000,50,1000);
//add_a_note(0,50,0);
while(1)
{
//LCD_set_dot(t0.pix_x, t0.pix_y, RED);
@@ -71,6 +78,7 @@ void main_app()
UI_Server(ui);
TP_Server();
EEPROM_SLOWWRITE_SERVER();
buzzer_play_server();
}
}