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.
|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
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!!!!!!!!!!!!!
I think you could do that entirely within your Arduino code. You might be able to use a merged source on the MegunoLink side (https://www.megunolink.com/documentation/connecting/merged-source/). If that doesn’t help, jump onto our forum and tell us more about what you want to achieve: https://megunolink.com/discussion/
Happy new year,