Removed unnecessary code for serial, LCD, etc.