update arduino/Betas/RGB_V1.1.1/main/data/index.html.

master
慕炎 2022-01-03 02:34:55 +00:00 committed by Gitee
parent 1ce2e779db
commit 0f4ffde5fb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function UpdateInfo()
document.getElementById('debug_log_control').value==arr[3]; document.getElementById('debug_log_control').value==arr[3];
document.getElementById('BAT_VOLTAGE').innerHTML=arr[4]; document.getElementById('BAT_VOLTAGE').innerHTML=arr[4];
if(document.getElementById('log_control').value=="1"){ if(document.getElementById('log_control').value=="1" && arr[5]!=""){
document.getElementById('Shaft_Velocity').innerHTML =arr[5]+"<br>"+document.getElementById('Shaft_Velocity').innerHTML; document.getElementById('Shaft_Velocity').innerHTML =arr[5]+"<br>"+document.getElementById('Shaft_Velocity').innerHTML;
document.getElementById('motor_voltage_q').innerHTML=arr[6]+"<br>"+document.getElementById('motor_voltage_q').innerHTML; document.getElementById('motor_voltage_q').innerHTML=arr[6]+"<br>"+document.getElementById('motor_voltage_q').innerHTML;
document.getElementById('target_velocity').innerHTML=arr[7]+"<br>"+document.getElementById('target_velocity').innerHTML; document.getElementById('target_velocity').innerHTML=arr[7]+"<br>"+document.getElementById('target_velocity').innerHTML;