Sample code for Cube4 Arduino kit from freetronics