adjust lcd function for new HMI

This commit is contained in:
Siwat Sirichai 2023-10-04 02:28:09 +07:00
parent ef37014292
commit cea4da4c8c
1 changed files with 1 additions and 1 deletions

View File

@ -804,7 +804,7 @@ void lcd_refresh()
for (int i = 0; i <= 15; i++)
{
panel.writeNum("j" + String(i) + ".val", int(pwm_values[i] / 4095.0 * 100.0));
panel.writeNum("j" + String(i) + ".pco", pwm_states[i] ? 47829 : 12710);
panel.writeNum("j" + String(i) + ".ppic", pwm_states[i] ? 33 : 48);
}
break;
case 4: