Arduino code for operating a chocolate 3D printer