Embedded code for Turtle Sense Smart Sensor