trials with Arduino Yun - some pretty bad code in here.