1. Initialize the connection to the Arduino. If nothing is connected to the VISA Resource input the Init vi will attempt to auto connect to the Arduino.
To speed up the connection or to connect wirelessly use a VISA Resource constant to specify the COM port to use.
2. Set the number of Servos to use. This creates a zero indexed array of servos on the Arduino. After specifying the number of servos that you want
to use you can refer to them by number (starting with 0).
3. Configure the two servos by assigning them digital I/O pins.
4. Write an angle to Servo 0 based on the loop iteration. Servo 0 will sweep from 0 degrees to the user specified angle and repeat. This angle is also read
from the servo and displayed on the front panel.
5. Manually set the angle of servo 2. This angle is also read from the servo and displayed on the front panel.
6. Close the connection to the Arduino
7. Handle errors.