hi,
I have an interface of MLP to control a couple of arduinos ( the same sketch and the same interface for both of them), but every time I load MLP and connect to arduino, I get the default information or the last modified values in the interface.
Can I get load the current values form the current arduino that I'm connected to?
thanks for your help
Load current information from arduino to MLP
Hi Eusaki, you would need to basically send all that information from your arduino on bootup. One way to do that is to use the "SerialConnection" object in the interface panel (see picture below). This sends a message to your arduino when a connection is established. You could use this to send a message to your arduino requesting it to send commands back to MegunoLink to update the interface to that Arduinos current configuration.
One thing to remember is that the arduino takes a few seconds to boot up when reset so make sure you set a suitable delay in the "SerialConnection" object.
Cheers
Phil
One thing to remember is that the arduino takes a few seconds to boot up when reset so make sure you set a suitable delay in the "SerialConnection" object.
Cheers
Phil