adjust lcd function for new HMI
This commit is contained in:
parent
ef37014292
commit
cea4da4c8c
|
@ -804,7 +804,7 @@ void lcd_refresh()
|
||||||
for (int i = 0; i <= 15; i++)
|
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) + ".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;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Reference in New Issue