Code for the first prototype of the uCube