Compare commits

...

2 Commits

Author SHA1 Message Date
Siwat Sirichai e23a21e25f Merge branch 'main' into cud 2023-10-04 02:28:14 +07:00
Siwat Sirichai cea4da4c8c adjust lcd function for new HMI 2023-10-04 02:28:09 +07:00
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++) 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: