upgraded to allow control via arduino yun messages