Use the serial connection component to send a command to a device when the serial connection is made. This command could be used to send configuration information to your Arduino sketch, or have the sketch start requesting configuration from MegunoLink. The command can be delayed to allow the device to initialize if it is reset when the connection is opened.

Serial connection component properties
Property Access Type Method Description
Delay Design-only Integer The amount of time MegunoLink waits before sending the command after the connection has been opened. Delay is set in milliseconds; 1000 milliseconds = 1 second.
OnConnectSend Design-only String The message to send when the connection is opened, after the selected delay has passed.
Name Design-only String The name of the component.

Leave a Comment

Start typing and press Enter to search