The Arduino service is used to communicate and control the very popular Arduino micro-controller. The GUI view to this service has three sub panels. It has an Editor, a Pins Panel, and an Oscope. An Arduino script must be installed on the Arduino to allow communication between it and MRL. The script is named MRLComm.ino and is the first script which is loaded by default into the Editor.
MRLComm.ino only needs to be loaded on once. The editor in MRL behave similarly to the Arduino editor. You may compile and upload this script after you've selected the correct board type and serial port under the Tools menu.
You should be at least somewhat familiar with Arduino setup and programming. See the Arduino website for more information. The Arduino must be connected to your computer when MyRobotLab starts.
In the MRL tab, start the arduino service by right clicking it and selecting start. Name it anything you like. Open the Arduino service tab by clicking it.
Editor Menu Bar:
Editor Icon Bar:
#file : Arduino.analog.read.py
dataPin = msg_uno_publishPin.data
print dataPin.pin, dataPin.value