MOVED: how to combine this arduino sketch..

This topic has been moved to Programming Questions.

http://forum.arduino.cc/index.php?topic=314722.0