Sample code for Rfduino