CWempe / SuperLEDstrip

14 stars 2 forks source link

setText causing rest #21

Open CWempe opened 6 years ago

CWempe commented 6 years ago

implemented a workaround that does not update the text when rotationSpeed is updated via mqtt.

https://github.com/CWempe/SuperLEDstrip/blob/6312b8691c2036513b063c0d4f892a725e0d967a/nextion_functions.h#L51

waiting for help: http://support.iteadstudio.com/support/discussions/topics/11000019896

CWempe commented 6 years ago

Same problem when updating custom colors.

Solved by using a separate update function that gets called in Loop(). see: https://github.com/CWempe/SuperLEDstrip/commit/d562db38f52ffab56904cfd1aa65b63d1d88dd89