完赛的一个版本

This commit is contained in:
2024-06-27 02:28:12 +08:00
parent f04b21f738
commit fad2a71e3a
6 changed files with 55 additions and 28 deletions

View File

@@ -2,7 +2,7 @@
#include "page_ui_widget.h"
#include "jj_motion.h"
#include "page.h"
#include"jj_voltage.h"
#include <math.h>
#define LINE_HEAD 0
@@ -62,6 +62,8 @@ static void Loop()
ips200_show_float(80, 160, out_pos, 4, 1);
ips200_show_string(0, 180, "outcal");
ips200_show_float(80, 180, out_cal, 4, 1);
ips200_show_string(0, 200, "vol");
ips200_show_float(80, 200, (float)now_vol, 4,2);
ips200_show_string(180, 0, "ls");
ips200_show_float(220, 0, pwm_duty_ls, 4, 1);