Added sample .c file from PebbleLab.