arduino sketch for Yun

First working prototype