Hello,
I'm controlling a gizmo with arduino and used megunolink to make a gui. There are two delay values that I use to change the frequency at which the gizmo moves.
The numupdown boxes are set such that the values don't change until I hit the Set Delays button (so I get both at once). The Reset button sets the Delay1 and Delay2 values both back to 1000. However, I want this change reflected in the numupdown boxes, as well. If I change them both to 2000, for example, and then hit Reset, the values in the box stay at 2000. Can I augment the Reset command to change the numupdown values?
Thank you,
Z
Reset NumUpDown button to default
Hi Z, unfortunately not. Best thing to do would be to get your microcontroller to reply to MegunoLink with the updated values and MegunoLink and process these to change the numbers back.
This would be similar to our example where the Arduino updates the text box.
https://github.com/Megunolink/MLP/tree/ ... /SendToMLP
Don't forget to add the MLPUIMessageProcessor found in the same list as text boxes etc. This is needed to receive the commands and adjust the interface.
http://www.megunolink.com/documentation ... ace-panel/
Cheers
Phil
This would be similar to our example where the Arduino updates the text box.
https://github.com/Megunolink/MLP/tree/ ... /SendToMLP
Don't forget to add the MLPUIMessageProcessor found in the same list as text boxes etc. This is needed to receive the commands and adjust the interface.
http://www.megunolink.com/documentation ... ace-panel/
Cheers
Phil