Code dedicated to serial communication between Arduino and PHP