Topic: send a value from the mcu to an app edit field, a switch or a button ?
Hi,
Is it ok to send a value from the MCU to the GUI for inputs like edit field, a switch or a button.
Exemples :
RemoteXY.switch_1 = 0;
RemoteXY.edit_field_1 = constrain(RemoteXY.edit_field_1,0,100);
I've done it in my sketch, it work, but connection between MCU and RemoteXY app seems less stable when I'm using those kinf of command to correct some input form the GUI. Like if a want to correct a out off range value from the GUI...
So is assigning a value to those field from the MCU can make the App or communication goes down, or bugging the app ??
thank you !