The compiler is correct in what it says
You have changed the code in an attempt to output to Serial rather than an LCD