iRobot interview question

Reading data sheets, fixing code samples