Cleaned up Beaglebone example