Copy code from Uno to Yun

Ralf is quite correct, I should have checked the datasheets instead of relying on memory, not quite sure why I "remember" that.