The easiest to do is the Outputting from the Arduino.
Providing output to pins can also be called Writing to pins
See some implementations by following the below links
Digital Output
PWM Output