Arduino Controller Code for the P1 3D Printer