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.
Showing 2 comments
  • Kyum Myoung Chul

    If I use two connection of serial, can I send data of one serial to other serial device? For example I want to get the QR code data from one usb serial port. after, I want to send the QR code data to other serial port(Arduino Mega board). Is this frame possible in Megunolink? If you have a way to that, let me know please! Or you have other way to solve this problem, please let me know!!!!!!!!!!!!!

Leave a Comment

Start typing and press Enter to search