Beaglebone vs. Arduino Comparison.

I have a presentation coming up next week where I'll be comparing the Beaglebone with the Arduino...

Has anyone out there been able to replicate this Arduino sketch and lesson to the Beaglebone? This would give me the ability to show how it can be done on each... (granted I know it's probably overkill for the Beaglebone but it's only a comparison)..

I got it to play with but I'm still learning how to make use of it.... I'd spend the time hacking away at it myself if I had the time but any help would be greatly appreciated!!

Thanks in advance!

P.S. I think this would make a great tutorial on how to familiarize yourself with the beaglebone too..